vfs: show_vfsstat: do not ignore errors from show_devname method
commit452718f54822d63ffff0aebb713c5ccd722fd050
authorDmitry V. Levin <ldv@altlinux.org>
Thu, 19 Mar 2015 11:10:54 +0000 (19 11:10 +0000)
committerSasha Levin <sasha.levin@oracle.com>
Mon, 18 Apr 2016 12:51:00 +0000 (18 08:51 -0400)
tree688e2c5f5cbd812416759c9e38594a73381e698d
parent03d44e3d9dd7744fe97ca472fce1725b7179fa2f
vfs: show_vfsstat: do not ignore errors from show_devname method

[ Upstream commit 5f8d498d4364f544fee17125787a47553db02afa ]

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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
fs/proc_namespace.c