diff options
author | Christoph Hellwig <hch@infradead.org> | 2011-05-23 10:52:53 +0200 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2011-05-25 17:48:37 +0200 |
commit | ec90c5563413ba6d29607397c54958d49c3461a3 (patch) | |
tree | 7ee1bb9428858d2f43b426ae71bab6a4703af6f7 /fs/xfs/xfs_inode.h | |
parent | xfs: remove the unused XFS_BMAPI_RSVBLOCKS flag (diff) | |
download | linux-ec90c5563413ba6d29607397c54958d49c3461a3.tar.xz linux-ec90c5563413ba6d29607397c54958d49c3461a3.zip |
xfs: remove if_lastex
The if_lastex field in struct xfs_ifork is only used as a temporary
index during xfs_bmapi and xfs_bunmapi. Instead of using the inode
fork to store it keep it local in the callchain. Fortunately this
is very easy as we already pass a stack copy of it down the whole
chain which can simplify be changed to be passed by reference.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_inode.h')
-rw-r--r-- | fs/xfs/xfs_inode.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/xfs/xfs_inode.h b/fs/xfs/xfs_inode.h index ff4e2a30227d..3ae6d58e5473 100644 --- a/fs/xfs/xfs_inode.h +++ b/fs/xfs/xfs_inode.h @@ -67,7 +67,6 @@ typedef struct xfs_ifork { short if_broot_bytes; /* bytes allocated for root */ unsigned char if_flags; /* per-fork flags */ unsigned char if_ext_max; /* max # of extent records */ - xfs_extnum_t if_lastex; /* last if_extents used */ union { xfs_bmbt_rec_host_t *if_extents;/* linear map file exts */ xfs_ext_irec_t *if_ext_irec; /* irec map file exts */ |