diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-08-20 16:42:15 (GMT) |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-08-20 16:52:42 (GMT) |
commit | 086600430493e04b802bee6e5b3ce0458e4eb77f (patch) | |
tree | 56de6150c707126b788e8ad6543e0904a2205e0f /lib/gcd.c | |
parent | 7653f6ff4ebab2a094e65b60fb19ee66ed2f78e7 (diff) | |
download | linux-fsl-qoriq-086600430493e04b802bee6e5b3ce0458e4eb77f.tar.xz |
NFSv3: Ensure that do_proc_get_root() reports errors correctly
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>
Cc: stable@vger.kernel.org
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'lib/gcd.c')
0 files changed, 0 insertions, 0 deletions