]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
NFS: Fix inheritance of the block sizes when automounting
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 28 Nov 2025 21:06:41 +0000 (16:06 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 29 Nov 2025 22:23:03 +0000 (17:23 -0500)
commit2b092175f5e301cdaa935093edfef2be9defb6df
tree4017aa70a666b03d4fee4754790b000f769148da
parent8675c69816e4276b979ff475ee5fac4688f80125
NFS: Fix inheritance of the block sizes when automounting

Only inherit the block sizes that were actually specified as mount
parameters for the parent mount.

Fixes: 62a55d088cd8 ("NFS: Additional refactoring for fs_context conversion")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/client.c
fs/nfs/internal.h
fs/nfs/namespace.c
fs/nfs/nfs4client.c
fs/nfs/super.c
include/linux/nfs_fs_sb.h