Re: [PATCH 14/22] xfs: shortform directory offsets change for dir3 format

Ben Myers
2013-04-10T19:52:52Z

On Wed, Apr 03, 2013 at 04:11:24PM +1100, Dave Chinner wrote:
> From: Dave Chinner <dchinner@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@redhat.com>

Looks great.

-Ben