]> git.baikalelectronics.ru Git - kernel.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)
commiteb6642f9438c98624814eda575919aa46ab69a43
tree9dcf9e5336c6be32f7f8f37a93b79159b2cff94f
parent9569277841df30edfdceb3e923c7130bb738b079
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