nfsd: remove read permission bit for ctl sysctl

It's meant to be write-only.

Fixes: 89c905becc ("nfsd: allow forced expiration of NFSv4 clients")
Signed-off-by: Petr Vorel <pvorel@suse.cz>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
This commit is contained in:
Petr Vorel 2020-03-13 13:39:57 +01:00 коммит произвёл Chuck Lever
Родитель 3ac3711adb
Коммит 6cbfad5f20
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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_IRUSR|S_IWUSR},
[2] = {"ctl", &client_ctl_fops, S_IWUSR},
[3] = {""},
};