NFS: Return a real error code from mount(2)

Don't filter the return code from the in-kernel rpcbind or NFS mount
clients. Return the real error code so that callers of the new NFS
text-based mount API can apply a useful retry strategy.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>

authored by Chuck Lever and committed by Trond Myklebust fdc6e2c8 fdb66ff4

+1 -1
+1 -1
fs/nfs/super.c
··· 1166 1167 status = nfs_try_mount(&args, mntfh); 1168 if (status) 1169 - return -EINVAL; 1170 1171 /* 1172 * Translate to nfs_mount_data, which nfs_fill_super
··· 1166 1167 status = nfs_try_mount(&args, mntfh); 1168 if (status) 1169 + return status; 1170 1171 /* 1172 * Translate to nfs_mount_data, which nfs_fill_super