]> git.baikalelectronics.ru Git - kernel.git/commit
[XFS] kill BMAPI_DEVICE
authorChristoph Hellwig <hch@infradead.org>
Fri, 14 Sep 2007 05:23:17 +0000 (15:23 +1000)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Thu, 7 Feb 2008 05:43:35 +0000 (16:43 +1100)
commit664f6a60acc7338a2fd726d2763d219e1d655271
treecd01b3d54a4156ee9315ea88ef7fea26fb40acfb
parent45ce67d92061b196b6543186def40b6c556d57c1
[XFS] kill BMAPI_DEVICE

There is no reason to go into the iomap machinery just to get the right
block device for an inode. Instead look at the realtime flag in the inode
and grab the right device from the mount structure.

I created a new helper, xfs_find_bdev_for_inode instead of opencoding it
because I plan to use it in other places in the future.

SGI-PV: 970240
SGI-Modid: xfs-linux-melb:xfs-kern:29680a

Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Donald Douwsma <donaldd@sgi.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
fs/xfs/linux-2.6/xfs_aops.c
fs/xfs/xfs_iomap.c
fs/xfs/xfs_iomap.h