|
@@ -1100,11 +1100,12 @@ static int selinux_parse_opts_str(char *options,
|
|
|
}
|
|
|
|
|
|
rc = -ENOMEM;
|
|
|
- opts->mnt_opts = kcalloc(NUM_SEL_MNT_OPTS, sizeof(char *), GFP_ATOMIC);
|
|
|
+ opts->mnt_opts = kcalloc(NUM_SEL_MNT_OPTS, sizeof(char *), GFP_KERNEL);
|
|
|
if (!opts->mnt_opts)
|
|
|
goto out_err;
|
|
|
|
|
|
- opts->mnt_opts_flags = kcalloc(NUM_SEL_MNT_OPTS, sizeof(int), GFP_ATOMIC);
|
|
|
+ opts->mnt_opts_flags = kcalloc(NUM_SEL_MNT_OPTS, sizeof(int),
|
|
|
+ GFP_KERNEL);
|
|
|
if (!opts->mnt_opts_flags) {
|
|
|
kfree(opts->mnt_opts);
|
|
|
goto out_err;
|