On Wed, Mar 30, 2022 at 06:08:16PM +0200, Christoph Hellwig wrote:
On Wed, Mar 30, 2022 at 06:04:48PM +0200, Christian Brauner wrote:
This probably wants a Fixes tag, as without it NFS exporting idmapped file will give slightly unexpected results.
I made it so that the nfs kernel server will refuse to be mounted on top of idmapped mounts in check_export() similar to what I did originally do for overlayfs. It's unclear what the Fixes: tag would be so I'll just Cc stable.
So knfsd is fine, and the handle_to_name syscall doesn't ever do the equivalent of the subtree check. So with that we probably don't need a Fixes tag - sorry for the noise.
No worries, thank you for taking a close look!