summaryrefslogtreecommitdiffstats
path: root/fs/xfs/libxfs/xfs_dir2_priv.h
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2016-11-08 11:56:51 +1100
committerDave Chinner <david@fromorbit.com>2016-11-08 11:56:51 +1100
commit523b2e76e3ecb54e0ec8651e32291bdaefc5f866 (patch)
tree527a75eef998858ccc0595a7369c13ecfb962bf3 /fs/xfs/libxfs/xfs_dir2_priv.h
parentae90b994b40f7c724701877c27b9148ee262ba62 (diff)
downloadlinux-523b2e76e3ecb54e0ec8651e32291bdaefc5f866.tar.bz2
libxfs: clean up _dir2_data_freescan
Refactor the implementations of xfs_dir2_data_freescan into a routine that takes the raw directory block parameters and a second function that figures out the raw parameters from the directory inode. This enables us to use the exact same code for both userspace and the kernel, since repair knows exactly which directory block geometry parameters it needs. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/libxfs/xfs_dir2_priv.h')
0 files changed, 0 insertions, 0 deletions