]> 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)
commit44076b85126b17925ad75e17a9ad72ed3e04dd0d
tree6aaad28998efd24e0bb78ee1edf21fe53b927cb0
parent0cb7d54ba599462c4ee344b8a72b74202716d2d4
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