diff options
-rw-r--r-- | fs/nfs/fs_context.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/nfs/fs_context.c b/fs/nfs/fs_context.c index dfd95847f005..2c6dc1b6cc92 100644 --- a/fs/nfs/fs_context.c +++ b/fs/nfs/fs_context.c @@ -779,8 +779,7 @@ out_invalid_value: out_invalid_address: return nfs_invalf(fc, "NFS: Bad IP address specified"); out_of_bounds: - nfs_invalf(fc, "NFS: Value for '%s' out of range", param->key); - return -ERANGE; + return nfs_invalf(fc, "NFS: Value for '%s' out of range", param->key); } /* |