tmpfs: deny and force are not huge mount options
5.6-rc1 commit 2710c957a8
("fs_parse: get rid of ->enums") regressed
the huge tmpfs mount options to an earlier state: "deny" and "force"
are not valid there, and can crash the kernel. Delete those lines.
Signed-off-by: Hugh Dickins <hughd@google.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
bb6d3fb354
commit
bf4498ad3f
|
@ -3386,8 +3386,6 @@ static const struct constant_table shmem_param_enums_huge[] = {
|
|||
{"always", SHMEM_HUGE_ALWAYS },
|
||||
{"within_size", SHMEM_HUGE_WITHIN_SIZE },
|
||||
{"advise", SHMEM_HUGE_ADVISE },
|
||||
{"deny", SHMEM_HUGE_DENY },
|
||||
{"force", SHMEM_HUGE_FORCE },
|
||||
{}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue