make nfs_follow_remote_path() handle ERR_PTR() passed as root_mnt
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 17 Nov 2011 02:52:06 +0000 (21:52 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 4 Jan 2012 03:52:39 +0000 (22:52 -0500)
commit5352d3b65ae6f38e71e16f704414c1db4b4f7228
tree6e6e30b52e2c87264a7e1ca5880007d64b95de3f
parent5ffc2836a2514e3f402327536b5dcc4a5b2d5571
make nfs_follow_remote_path() handle ERR_PTR() passed as root_mnt

... rather than duplicating that in callers

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/nfs/super.c