mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-21 14:11:20 +00:00
[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>
This commit is contained in:
parent
a194189503
commit
94e1b69d1a
5 changed files with 88 additions and 120 deletions
|
@ -157,7 +157,7 @@ typedef struct xfs_icdinode {
|
|||
#define XFS_IFEXTIREC 0x08 /* Indirection array of extent blocks */
|
||||
|
||||
/*
|
||||
* Flags for xfs_inotobp, xfs_imap() and xfs_dilocate().
|
||||
* Flags for xfs_inotobp and xfs_imap().
|
||||
*/
|
||||
#define XFS_IMAP_BULKSTAT 0x1
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue