Commit 33f37c64 authored by Al Viro's avatar Al Viro
Browse files

shmem: fix LSM options parsing



->parse_monolithic() there forgets to call security_sb_eat_lsm_opts()

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent a3bc18a4
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -3482,6 +3482,12 @@ static int shmem_parse_options(struct fs_context *fc, void *data)
{
	char *options = data;

	if (options) {
		int err = security_sb_eat_lsm_opts(options, &fc->security);
		if (err)
			return err;
	}

	while (options != NULL) {
		char *this_char = options;
		for (;;) {