diff options
author | Christoph Hellwig <hch@lst.de> | 2008-11-27 22:23:41 -0500 |
---|---|---|
committer | Niv Sardi <xaiki@sgi.com> | 2008-11-30 19:38:03 -0500 |
commit | 94e1b69d1abd108d306e926c3012ec89e481c0da (patch) | |
tree | d7fb02a0c855729831dcddbef6afcb518d3ed870 /fs/xfs/xfs_inode.h | |
parent | a1941895034cda2bffa23ba845607c82138ccf52 (diff) |
[XFS] merge xfs_imap into xfs_dilocate
xfs_imap is the only caller of xfs_dilocate and doesn't add any significant
value. Merge the two functions and document the various cases we have for
inode cluster lookup in the new xfs_imap.
Also remove the unused im_agblkno and im_ioffset fields from struct xfs_imap
while we're at it.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Niv Sardi <xaiki@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_inode.h')
-rw-r--r-- | fs/xfs/xfs_inode.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_inode.h b/fs/xfs/xfs_inode.h index db1f68840727..0a9ad1c56a87 100644 --- a/fs/xfs/xfs_inode.h +++ b/fs/xfs/xfs_inode.h | |||
@@ -157,7 +157,7 @@ typedef struct xfs_icdinode { | |||
157 | #define XFS_IFEXTIREC 0x08 /* Indirection array of extent blocks */ | 157 | #define XFS_IFEXTIREC 0x08 /* Indirection array of extent blocks */ |
158 | 158 | ||
159 | /* | 159 | /* |
160 | * Flags for xfs_inotobp, xfs_imap() and xfs_dilocate(). | 160 | * Flags for xfs_inotobp and xfs_imap(). |
161 | */ | 161 | */ |
162 | #define XFS_IMAP_BULKSTAT 0x1 | 162 | #define XFS_IMAP_BULKSTAT 0x1 |
163 | 163 | ||