xfs
[Top] [All Lists]

Re: [PATCH 22/27] xfs: use generic get_unaligned_beXX helpers

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: [PATCH 22/27] xfs: use generic get_unaligned_beXX helpers
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Thu, 7 Jul 2011 04:00:06 -0400
Cc: Christoph Hellwig <hch@xxxxxxxxxxxxx>, xfs@xxxxxxxxxxx
In-reply-to: <20110706090754.GI19861@xxxxxxxxxxxxx>
References: <20110701094321.936534538@xxxxxxxxxxxxxxxxxxxxxx> <20110701094606.763430916@xxxxxxxxxxxxxxxxxxxxxx> <20110706034421.GQ1026@dastard> <20110706090754.GI19861@xxxxxxxxxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
One interestin caveat about inode numers is that the we use the
XFS_DIR2_DATA_FREE_TAG magic number in the firt two bytes of
struct xfs_dir2_data_unused to detect this free space header in all
non-shortform directory formats.  These two bytes overlap with
the inode number in struct xfs_dir2_data_entry.  

<Prev in Thread] Current Thread [Next in Thread>