Re: [PATCH 0/2] Ignore SB_RDONLY when mounting and remounting nfs

From: Li Lingfeng
Date: Wed Apr 09 2025 - 07:40:18 EST


Friendly ping..

Thanks

在 2025/3/4 21:05, Li Lingfeng 写道:
When NFS_MOUNT_UNSHARED is not set, NFS forces the sharing of a
superblock among each filesystem that mounts sub-directories elonging to
a single exported root path.

To prevent interference between different filesystems, ignore SB_RDONLY
when mounting and remounting nfs.

Li Lingfeng (2):
nfs: clear SB_RDONLY before getting superblock
nfs: ignore SB_RDONLY when remounting nfs

fs/nfs/super.c | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)