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)
commit679a99495b8fda800037b25af8cd990eb7dd72c9
tree6aaad28998efd24e0bb78ee1edf21fe53b927cb0
parent0c445871388f4bac74ea74e8c7a12c6c05c6a427
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