NFS: Fix inheritance of the block sizes when automounting

[ Upstream commit 2b092175f5 ]

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

Fixes: 62a55d088c ("NFS: Additional refactoring for fs_context conversion")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Trond Myklebust 2025-11-28 16:06:41 -05:00 • committed by Greg Kroah-Hartman
commit 6d335d8a26
6 changed files with 43 additions and 17 deletions