Skip to content

Commit

Permalink
xfs: remove if_lastex
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Christoph Hellwig authored and Alex Elder committed May 25, 2011
1 parent 5489327 commit ec90c55
Show file tree
Hide file tree
Showing 3 changed files with 203 additions and 223 deletions.
Loading

0 comments on commit ec90c55

Please sign in to comment.