@@ -447,6 +447,7 @@ listdir(
struct xfs_da_args args = {
.dp = dp,
.geo = dp->i_mount->m_dir_geo,
+ .owner = dp->i_ino,
};
int error;
@@ -1401,6 +1401,7 @@ dir2_kill_block(
args.trans = tp;
args.whichfork = XFS_DATA_FORK;
args.geo = mp->m_dir_geo;
+ args.owner = ip->i_ino;
if (da_bno >= mp->m_dir_geo->leafblk && da_bno < mp->m_dir_geo->freeblk)
error = -libxfs_da_shrink_inode(&args, da_bno, bp);
else
@@ -1505,6 +1506,7 @@ longform_dir2_entry_check_data(
struct xfs_da_args da = {
.dp = ip,
.geo = mp->m_dir_geo,
+ .owner = ip->i_ino,
};
@@ -2294,6 +2296,7 @@ longform_dir2_entry_check(
/* is this a block, leaf, or node directory? */
args.dp = ip;
args.geo = mp->m_dir_geo;
+ args.owner = ip->i_ino;
fmt = libxfs_dir2_format(&args, &error);
/* check directory "data" blocks (ie. name/inode pairs) */