aboutsummaryrefslogtreecommitdiff
path: root/fs/nfs/nfs4renewd.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2012-08-20 12:42:15 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-14 10:00:11 -0700
commit73b8b9f59d61e0c0e2beaada246f1ed41df0c8fd (patch)
treead77a2ff4b8f219baa3842bb85bd9bae319a4651 /fs/nfs/nfs4renewd.c
parent94a6f1787e1f896585a093aa2f45cefbbef80f24 (diff)
NFSv3: Ensure that do_proc_get_root() reports errors correctly
commit 086600430493e04b802bee6e5b3ce0458e4eb77f upstream. If the rpc call to NFS3PROC_FSINFO fails, then we need to report that error so that the mount fails. Otherwise we can end up with a superblock with completely unusable values for block sizes, maxfilesize, etc. Reported-by: Yuanming Chen <hikvision_linux@163.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/nfs/nfs4renewd.c')
0 files changed, 0 insertions, 0 deletions