diff --git a/fs/nfs/super.c b/fs/nfs/super.c index 66a223b22a8079e9e0b067442e7b6ed1e32b4f77..9cd0828010cff7a7e41f4438af6f62593a3513cf 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 **options, status = nfs_try_mount(&args, mntfh); if (status) - return -EINVAL; + return status; /* * Translate to nfs_mount_data, which nfs_fill_super