]> asedeno.scripts.mit.edu Git - linux.git/commit
xfs: add a xfs_inode_buftarg helper
authorChristoph Hellwig <hch@lst.de>
Fri, 25 Oct 2019 05:25:38 +0000 (22:25 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 28 Oct 2019 15:37:54 +0000 (08:37 -0700)
commit30fa529e3b2e6f1da277ef8525e4ce7979c57c57
treec9af7cad093e70942034653db98d3d2fa8b77e22
parent25a409572b5f6e3af6b2264f6a358b71505fb0d6
xfs: add a xfs_inode_buftarg helper

Add a new xfs_inode_buftarg helper that gets the data I/O buftarg for a
given inode.  Replace the existing xfs_find_bdev_for_inode and
xfs_find_daxdev_for_inode helpers with this new general one and cleanup
some of the callers.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_aops.c
fs/xfs/xfs_aops.h
fs/xfs/xfs_bmap_util.c
fs/xfs/xfs_file.c
fs/xfs/xfs_inode.h
fs/xfs/xfs_ioctl.c
fs/xfs/xfs_iomap.c
fs/xfs/xfs_iops.c