Linux NFS development
 help / color / mirror / Atom feed
* [PATCH 0/2] Ignore SB_RDONLY when mounting and remounting nfs
@ 2025-03-04 13:05 Li Lingfeng
  2025-03-04 13:05 ` [PATCH 1/2] nfs: clear SB_RDONLY before getting superblock Li Lingfeng
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Li Lingfeng @ 2025-03-04 13:05 UTC (permalink / raw)
  To: trondmy, anna
  Cc: linux-nfs, linux-kernel, ehagberg, linux-nfs, yukuai1, houtao1,
	yi.zhang, yangerkun, lilingfeng, lilingfeng3

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(+)

-- 
2.31.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-04-09 11:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-04 13:05 [PATCH 0/2] Ignore SB_RDONLY when mounting and remounting nfs Li Lingfeng
2025-03-04 13:05 ` [PATCH 1/2] nfs: clear SB_RDONLY before getting superblock Li Lingfeng
2025-03-04 16:22   ` Eric Hagberg
2025-03-04 13:05 ` [PATCH 2/2] nfs: ignore SB_RDONLY when remounting nfs Li Lingfeng
2025-04-09 11:39 ` [PATCH 0/2] Ignore SB_RDONLY when mounting and " Li Lingfeng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox