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

[ Upstream commit 400fa37afbb11a601c204b72af0f0e5bc2db695c ]

This reverts commit 80c4de6ab44c14e910117a02f2f8241ffc6ec54a.

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: 80c4de6ab44c ("nfs: ignore SB_RDONLY when remounting nfs")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/nfs/super.c