]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Revert "nfs: ignore SB_RDONLY when mounting nfs"
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 28 Nov 2025 18:39:45 +0000 (13:39 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Dec 2025 13:03:34 +0000 (14:03 +0100)
commitc30cb13edcbff4145fe1bbb5898126717fe07f6a
treece0373bbc48e0608691a9e4c146484fb244b36bc
parent10d58baf7d0e0f6add673d24d83c665d7b62c0c9
Revert "nfs: ignore SB_RDONLY when mounting nfs"

[ Upstream commit d4a26d34f1946142f9d32e540490e4926ae9a46b ]

This reverts commit 52cb7f8f177878b4f22397b9c4d2c8f743766be3.

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: 52cb7f8f1778 ("nfs: ignore SB_RDONLY when mounting nfs")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/nfs/internal.h