shmem: fix LSM options parsing
->parse_monolithic() there forgets to call security_sb_eat_lsm_opts() Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
a3bc18a48e
commit
33f37c6488
|
@ -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 (;;) {
|
||||
|
|
Loading…
Reference in New Issue