]> 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>
Mon, 19 Jan 2026 12:09:37 +0000 (13:09 +0100)
commitdca481c17f818fa35b3f5fc8cdf0dc24cd18fe4a
tree232136e8c04dac17dd1ae75f816826751329d7c3
parentb6e4e3a08c03200cc4b8067ec8ab3172a989d6fc
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