diff options
author | Hugh Dickins <hughd@google.com> | 2020-02-18 05:04:19 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2020-02-18 21:07:30 +0100 |
commit | bf4498ad3f9a0f7202cf90e52b5ce9bb31700b91 (patch) | |
tree | b49f63169794b8f480940f92eb5a354b28134d95 /mm/shmem.c | |
parent | Linux 5.6-rc1 (diff) | |
download | linux-bf4498ad3f9a0f7202cf90e52b5ce9bb31700b91.tar.xz linux-bf4498ad3f9a0f7202cf90e52b5ce9bb31700b91.zip |
tmpfs: deny and force are not huge mount options
5.6-rc1 commit 2710c957a8ef ("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>
Diffstat (limited to 'mm/shmem.c')
-rw-r--r-- | mm/shmem.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mm/shmem.c b/mm/shmem.c index c8f7540ef048..aad3ba74b0e9 100644 --- a/mm/shmem.c +++ b/mm/shmem.c @@ -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 }, {} }; |