]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: make xfs_bmbt_to_iomap available outside of xfs_pnfs.c
authorChristoph Hellwig <hch@lst.de>
Mon, 20 Jun 2016 23:52:47 +0000 (09:52 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 20 Jun 2016 23:52:47 +0000 (09:52 +1000)
commit6d57f876c8c3f94934a0aee8b8fb8f93f630d74e
tree0e57f8c1489b1fba16bc20e85ad9833c49882fd0
parent968057edc88a24e727137fceef6fefcd8925173b
xfs: make xfs_bmbt_to_iomap available outside of xfs_pnfs.c

And ensure it works for RT subvolume files an set the block device,
both of which will be needed to be able to use the function in the
buffered write path.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_iomap.c
fs/xfs/xfs_iomap.h
fs/xfs/xfs_pnfs.c