commit | 30fa529e3b2e6f1da277ef8525e4ce7979c57c57 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Thu Oct 24 22:25:38 2019 -0700 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Mon Oct 28 08:37:54 2019 -0700 |
tree | c9af7cad093e70942034653db98d3d2fa8b77e22 | |
parent | 25a409572b5f6e3af6b2264f6a358b71505fb0d6 [diff] |
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>