]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Dec 2025 13:03:35 +0000 (14:03 +0100)
commit6d335d8a26bf79092d2fd3486546ec8a466470fd
treed958058656a57fdb99e9e3cc78dc30c18626d562
parentdf9b003a2ecacc7218486fbb31fe008c93097d5f
NFS: Fix inheritance of the block sizes when automounting

[ Upstream commit 2b092175f5e301cdaa935093edfef2be9defb6df ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
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