exportfs,nfsd: rework checking for layout-based block device access support

Currently NFSD hard codes checking support for block-style layouts.
Lift the checks into a file system-helper and provide a exportfs-level
helper to implement the typical checks.

This prepares for supporting block layout export of multiple devices
per file system.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Link: https://patch.msgid.link/20260423181854.743150-5-cel@kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
This commit is contained in:
Christoph Hellwig 2026-04-23 14:18:54 -04:00 • committed by Christian Brauner
commit da9baa5470
No known key found for this signature in database
GPG key ID: 91C61BC06578DCA2
4 changed files with 73 additions and 21 deletions