]> 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)
commit5153a04b3e0fde5612c1f3aad331e34f82a7d387
tree9dcf9e5336c6be32f7f8f37a93b79159b2cff94f
parentb78eb63cb172129b7c275d1781952eecd8cddfc1
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