]> git.baikalelectronics.ru Git - kernel.git/commit
nfs: fix broken handling of the softreval mount option
authorDan Aloni <dan.aloni@vastdata.com>
Sun, 8 May 2022 12:54:50 +0000 (15:54 +0300)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 9 May 2022 17:02:54 +0000 (13:02 -0400)
commitb7c0a9b0a29eacb6e06647c233925e447155995d
treedfb4a9b4fc9b2c96fb89b43c6f0eec4d45ff184b
parent3139c5055de117ba6ec1c958ec5a6693069e12d1
nfs: fix broken handling of the softreval mount option

Turns out that ever since this mount option was added, passing
`softreval` in NFS mount options cancelled all other flags while not
affecting the underlying flag `NFS_MOUNT_SOFTREVAL`.

Fixes: d54be35c0426 ("NFS: Add mount option 'softreval'")
Signed-off-by: Dan Aloni <dan.aloni@vastdata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/fs_context.c