aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_dir2_node.c
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2013-04-03 16:11:24 +1100
committerBen Myers <bpm@sgi.com>2013-04-27 12:24:32 -0500
commit6b2647a12a00bdad431ac1e9049c5e8579aa7869 (patch)
treea2e9a94af4d27297e7ef7f147137e6c4fa099513 /fs/xfs/xfs_dir2_node.c
parentxfs: add CRC checking to dir2 leaf blocks (diff)
downloadlinux-dev-6b2647a12a00bdad431ac1e9049c5e8579aa7869.tar.xz
linux-dev-6b2647a12a00bdad431ac1e9049c5e8579aa7869.zip
xfs: shortform directory offsets change for dir3 format
Because the header size for the CRC enabled directory blocks is larger, the offset of the first entry into a directory block is different to the dir2 format. The shortform directory stores the dirent's offset so that it doesn't change when moving from shortform to block form and back again, and hence it needs to take into account the different header sizes to maintain the correct offsets. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Ben Myers <bpm@sgi.com> Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_dir2_node.c')
0 files changed, 0 insertions, 0 deletions