dax: remove the pgmap sanity checks in generic_fsdax_supported
authorChristoph Hellwig <hch@lst.de>
Mon, 29 Nov 2021 10:21:39 +0000 (11:21 +0100)
committerDan Williams <dan.j.williams@intel.com>
Sat, 4 Dec 2021 16:58:51 +0000 (08:58 -0800)
commit586f61682816f0cf7865b2dab7210b8f5339f834
treef31b5aced5257469592aa8d224b8294c68cb95a8
parentfb08a1908cb119a4585611d91461ab6d27756b14
dax: remove the pgmap sanity checks in generic_fsdax_supported

Drivers that register a dax_dev should make sure it works, no need
to double check from the file system.

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-6-hch@lst.de
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dax/super.c