projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ac3711
)
nfsd: remove read permission bit for ctl sysctl
author
Petr Vorel
<pvorel@suse.cz>
Fri, 13 Mar 2020 12:39:57 +0000
(13:39 +0100)
committer
Chuck Lever
<chuck.lever@oracle.com>
Mon, 16 Mar 2020 16:04:34 +0000
(12:04 -0400)
It's meant to be write-only.
Fixes:
89c905beccbb
("nfsd: allow forced expiration of NFSv4 clients")
Signed-off-by: Petr Vorel <pvorel@suse.cz>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfs4state.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfsd/nfs4state.c
b/fs/nfsd/nfs4state.c
index 169829db2817fc8d0998aa80237c7da9e3d246d9..3a24b3c328c334d22d347e289786fb97945ffe08 100644
(file)
--- a/
fs/nfsd/nfs4state.c
+++ b/
fs/nfsd/nfs4state.c
@@
-2645,7
+2645,7
@@
static const struct file_operations client_ctl_fops = {
static const struct tree_descr client_files[] = {
[0] = {"info", &client_info_fops, S_IRUSR},
[1] = {"states", &client_states_fops, S_IRUSR},
- [2] = {"ctl", &client_ctl_fops, S_I
RUSR|S_I
WUSR},
+ [2] = {"ctl", &client_ctl_fops, S_IWUSR},
[3] = {""},
};