[PATCH 13/48] xfs: shortform directory offsets change for dir3 format
Ben Myers
bpm at sgi.com
Thu Jul 25 12:28:49 CDT 2013
On Fri, Jun 07, 2013 at 10:25:36AM +1000, Dave Chinner wrote:
> From: Dave Chinner <dchinner at redhat.com>
>
> 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 at redhat.com>
corresponds to commit 6b2647a12a0
xfs_dir2_sf_getdents which is changed in the kernel commit doesn't exist in userspace.
Looks good.
Reviewed-by: Ben Myers <bpm at sgi.com>
More information about the xfs
mailing list