summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_ioctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_ioctl.c')
-rw-r--r--fs/xfs/xfs_ioctl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/xfs/xfs_ioctl.c b/fs/xfs/xfs_ioctl.c
index 97ccc69a3bf4..fb94301dbc85 100644
--- a/fs/xfs/xfs_ioctl.c
+++ b/fs/xfs/xfs_ioctl.c
@@ -897,6 +897,9 @@ xfs_bulk_ireq_setup(
if (hdr->flags & XFS_BULK_IREQ_METADIR)
breq->flags |= XFS_IWALK_METADIR;
+ if (hdr->flags & XFS_BULK_IREQ_RETAIN_INODES)
+ breq->flags |= XFS_IWALK_RETAIN_INODES;
+
return 0;
}