]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Revert "nfs: clear SB_RDONLY before getting superblock"
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 28 Nov 2025 18:39:38 +0000 (13:39 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 29 Nov 2025 22:22:32 +0000 (17:22 -0500)
commitd216b698d44e33417ad4cc796cb04ccddbb8c0ee
tree96d886cbb604bb56d475fe9628146f7d56ed5ed2
parent400fa37afbb11a601c204b72af0f0e5bc2db695c
Revert "nfs: clear SB_RDONLY before getting superblock"

This reverts commit 8cd9b785943c57a136536250da80ba1eb6f8eb18.

Silently ignoring the "ro" and "rw" mount options causes user confusion,
and regressions.

Reported-by: Alkis Georgopoulos<alkisg@gmail.com>
Cc: Li Lingfeng <lilingfeng3@huawei.com>
Fixes: 8cd9b785943c ("nfs: clear SB_RDONLY before getting superblock")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/super.c