Skip to content

Commit bf4498a

Browse files
Hugh DickinsAl Viro
authored andcommitted
tmpfs: deny and force are not huge mount options
5.6-rc1 commit 2710c95 ("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]> Signed-off-by: Al Viro <[email protected]>
1 parent bb6d3fb commit bf4498a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

mm/shmem.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3386,8 +3386,6 @@ static const struct constant_table shmem_param_enums_huge[] = {
33863386
{"always", SHMEM_HUGE_ALWAYS },
33873387
{"within_size", SHMEM_HUGE_WITHIN_SIZE },
33883388
{"advise", SHMEM_HUGE_ADVISE },
3389-
{"deny", SHMEM_HUGE_DENY },
3390-
{"force", SHMEM_HUGE_FORCE },
33913389
{}
33923390
};
33933391

0 commit comments

Comments
 (0)