The size of the xad array can be either XTROOTMAXSLOT or XTPAGEMAXSLOT depending on whether it is the root, imbedded in the inode, or not. It is currently declared with the smaller value so we can use xtpage_t within the inode.
I had promised to address this, but haven't gotten to it yet. I'll try to carve out some time to do that.
Thanks,
Shaggy