xfs: move dax device handling into xfs_{alloc,free}_buftarg
authorChristoph Hellwig <hch@lst.de>
Mon, 29 Nov 2021 10:21:55 +0000 (11:21 +0100)
committerDan Williams <dan.j.williams@intel.com>
Sat, 4 Dec 2021 16:58:53 +0000 (08:58 -0800)
commit5b5abbefec1bea98abba8f1cffcf72c11c32a92d
tree9e44ec02e696ac1cd4d80ce3469ebe30d7f4b630
parent89b93a7b15f75d04ed579baeb4d941e8ce7634c8
xfs: move dax device handling into xfs_{alloc,free}_buftarg

Hide the DAX device lookup from the xfs_super.c code.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Link: https://lore.kernel.org/r/20211129102203.2243509-22-hch@lst.de
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
fs/xfs/xfs_buf.c
fs/xfs/xfs_buf.h
fs/xfs/xfs_super.c