mirror of https://github.com/torvalds/linux.git
selinux: don't bother with selinuxfs_info_free() on failures
Failures in sel_fill_super() will be followed by sel_kill_sb(), which will call selinuxfs_info_free() anyway. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Reviewed-by: Christian Brauner <brauner@kernel.org> [PM: subj and description tweaks] Signed-off-by: Paul Moore <paul@paul-moore.com>
This commit is contained in:
parent
9ab71d9204
commit
ee79ba39b3
|
|
@ -2098,8 +2098,6 @@ static int sel_fill_super(struct super_block *sb, struct fs_context *fc)
|
|||
pr_err("SELinux: %s: failed while creating inodes\n",
|
||||
__func__);
|
||||
|
||||
selinux_fs_info_free(sb);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue