]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
vfs: show_vfsstat: do not ignore errors from show_devname method
authorDmitry V. Levin <ldv@altlinux.org>
Thu, 19 Mar 2015 11:10:54 +0000 (11:10 +0000)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 16 Mar 2016 17:09:08 +0000 (13:09 -0400)
commit5f8d498d4364f544fee17125787a47553db02afa
tree470014f8c179847b339244db471f0351bd19889b
parenta5b3a80b899bda0f456f1246c4c5a1191ea01519
vfs: show_vfsstat: do not ignore errors from show_devname method

Explicitly check show_devname method return code and bail out in case
of an error.  This fixes regression introduced by commit 9d4d65748a5c.

Cc: stable@vger.kernel.org
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/proc_namespace.c