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

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
...@@ -3482,6 +3482,12 @@ static int shmem_parse_options(struct fs_context *fc, void *data) ...@@ -3482,6 +3482,12 @@ static int shmem_parse_options(struct fs_context *fc, void *data)
{ {
char *options = data; char *options = data;
if (options) {
int err = security_sb_eat_lsm_opts(options, &fc->security);
if (err)
return err;
}
while (options != NULL) { while (options != NULL) {
char *this_char = options; char *this_char = options;
for (;;) { for (;;) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment