]> git.openfabrics.org - ~emulex/infiniband.git/commit
xfs: kill b_file_offset
authorDave Chinner <dchinner@redhat.com>
Mon, 23 Apr 2012 05:58:50 +0000 (15:58 +1000)
committerBen Myers <bpm@sgi.com>
Mon, 14 May 2012 21:20:46 +0000 (16:20 -0500)
commitde1cbee46269a3b707eb99b37f33afdd4cfaaea4
tree9dcf9e5336c6be32f7f8f37a93b79159b2cff94f
parente70b73f84f474cc594a39bd8ff083974e6d69aea
xfs: kill b_file_offset

Seeing as we pass block numbers around everywhere in the buffer
cache now, it makes no sense to index everything by byte offset.
Replace all the byte offset indexing with block number based
indexing, and replace all uses of the byte offset with direct
conversion from the block index.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_buf.c
fs/xfs/xfs_buf.h