]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: factor out a xfs_setup_dax_always helper
authorChristoph Hellwig <hch@lst.de>
Mon, 29 Nov 2021 10:21:41 +0000 (11:21 +0100)
committerDan Williams <dan.j.williams@intel.com>
Sat, 4 Dec 2021 16:58:51 +0000 (08:58 -0800)
commitba4a471a6122df58ccea7c0083fe6f9902343f02
tree6aaad28998efd24e0bb78ee1edf21fe53b927cb0
parent5934dce550de9067b0eeb211d349bcccd87778b3
xfs: factor out a xfs_setup_dax_always helper

Factor out another DAX setup helper to simplify future changes.  Also
move the experimental warning after the checks to not clutter the log
too much if the setup failed.

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