]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mnt: If fs_fully_visible fails call put_filesystem.
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 6 Jun 2016 20:36:07 +0000 (15:36 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Jul 2016 15:42:09 +0000 (08:42 -0700)
commit06eaa264f3d8c870b7f8c17605dfcdfc19538dba
tree32b647cb20c510addb1f39df095d18605e86e9a4
parent619ca9fb435417803b978efdc2de43ae2b772148
mnt: If fs_fully_visible fails call put_filesystem.

commit 97c1df3e54e811aed484a036a798b4b25d002ecf upstream.

Add this trivial missing error handling.

Fixes: 1b852bceb0d1 ("mnt: Refactor the logic for mounting sysfs and proc in a user namespace")
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/namespace.c