Commit bf4498ad authored by Hugh Dickins's avatar Hugh Dickins Committed by Al Viro
Browse files

tmpfs: deny and force are not huge mount options



5.6-rc1 commit 2710c957 ("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: default avatarHugh Dickins <hughd@google.com>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent bb6d3fb3
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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 },
	{}
};