tmpfs: deny and force are not huge mount options
Subsystems (2)
Hugh Dickins
maintainerPATCH 1/1 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 <[email protected]>
---
mm/shmem.c | 2 -- 1 file changed, 2 deletions(-)
mm/shmem.c +0 -2
@@ -3386,8 +3386,6 @@ static const struct constant_table shmem {"always", SHMEM_HUGE_ALWAYS }, {"within_size", SHMEM_HUGE_WITHIN_SIZE }, {"advise", SHMEM_HUGE_ADVISE }, - {"deny", SHMEM_HUGE_DENY }, - {"force", SHMEM_HUGE_FORCE }, {} };
Al Viro
AppliedQuoted 3 lines · Hugh Dickins
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.
Applied to #fixes, will send to Linus tonight.