diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-08-20 12:42:15 -0400 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2012-09-12 03:37:21 +0100 |
commit | a2810e5462e83ee74a5d20b68b39daa1402a4e5e (patch) | |
tree | e06d53523215a8cee542af95b3565bfea5fb295b /fs/compat.c | |
parent | 61ebf0a926149cc161131470cf848cb70b3d6fe6 (diff) | |
download | kernel_samsung_smdk4412-a2810e5462e83ee74a5d20b68b39daa1402a4e5e.zip kernel_samsung_smdk4412-a2810e5462e83ee74a5d20b68b39daa1402a4e5e.tar.gz kernel_samsung_smdk4412-a2810e5462e83ee74a5d20b68b39daa1402a4e5e.tar.bz2 |
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: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'fs/compat.c')
0 files changed, 0 insertions, 0 deletions