Commit:     fdc6e2c8c0dc0ac702fca0b802f5d9ae99a54bb6
Parent:     fdb66ff4ace3c4e18809b9b71dfcce1692143147
Author:     Chuck Lever <[EMAIL PROTECTED]>
AuthorDate: Wed Aug 29 17:58:59 2007 -0400
Committer:  Trond Myklebust <[EMAIL PROTECTED]>
CommitDate: Sat Sep 1 10:14:39 2007 -0400

    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 <[EMAIL PROTECTED]>
    Signed-off-by: Trond Myklebust <[EMAIL PROTECTED]>
 fs/nfs/super.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fs/nfs/super.c b/fs/nfs/super.c
index 66a223b..9cd0828 100644
--- a/fs/nfs/super.c
+++ b/fs/nfs/super.c
@@ -1166,7 +1166,7 @@ static int nfs_validate_mount_data(struct nfs_mount_data 
                status = nfs_try_mount(&args, mntfh);
                if (status)
-                       return -EINVAL;
+                       return status;
                 * Translate to nfs_mount_data, which nfs_fill_super
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to