Fix up NFS client mount option regressions
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | Revert "nfs: ignore SB_RDONLY when remounting nfs"fs/ | +0 | 0 replies | |
| 2/6 | Revert "nfs: clear SB_RDONLY before getting superblock"fs/ | +0 | 0 replies | |
| 3/6 | Revert "nfs: ignore SB_RDONLY when mounting nfs"fs/ | +1 | 0 replies | |
| 4/6 | NFS: Automounted filesystem should inherit ro,noexec,nodev,sync flagsfs/ fs/ | +6 | 0 replies | |
| 5/6 | NFS: Fix inheritance of the block sizes when automountingfs/ fs/ fs/ +3 more | +43 | 0 replies | |
| 6/6 | NFS: Fix up the automount fs_context to use the correct credfs/ | +5 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/6] Fix up NFS client mount option regressions
From: Trond Myklebust <[email protected]>
The recent changes to suppress the 'ro' and 'rw' mount options when mounting the same NFS filesystem with different settings are causing confusion with users, and are an unnecessary restriction. They represent a functionality regression.
The following patch set reverts the regressions, before applying a different set of fixes to address the original problem, which was one of the NFSv4 mount automounter code failing to propagate the correct mount options.
Trond Myklebust (6):
Revert "nfs: ignore SB_RDONLY when remounting nfs"
Revert "nfs: clear SB_RDONLY before getting superblock" Revert "nfs: ignore SB_RDONLY when mounting nfs"
NFS: Automounted filesystem should inherit ro,noexec,nodev,sync flags
NFS: Fix inheritance of the block sizes when automounting
NFS: Fix up the automount fs_context to use the correct cred
fs/nfs/client.c | 21 +++++++++++++++++---- fs/nfs/internal.h | 3 +-- fs/nfs/namespace.c | 16 +++++++++++++++- fs/nfs/nfs4client.c | 18 ++++++++++++++---- fs/nfs/super.c | 33 +++------------------------------ include/linux/nfs_fs_sb.h | 5 +++++ 6 files changed, 55 insertions(+), 41 deletions(-)
Signature · 1 line
2.52.0