diff options
Diffstat (limited to 'fs/nfsd/nfsctl.c')
-rw-r--r-- | fs/nfsd/nfsctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfsctl.c b/fs/nfsd/nfsctl.c index 74934284d9a7..65889ec1d28e 100644 --- a/fs/nfsd/nfsctl.c +++ b/fs/nfsd/nfsctl.c | |||
@@ -534,7 +534,7 @@ static ssize_t __write_versions(struct file *file, char *buf, size_t size) | |||
534 | else | 534 | else |
535 | num = simple_strtol(vers, &minorp, 0); | 535 | num = simple_strtol(vers, &minorp, 0); |
536 | if (*minorp == '.') { | 536 | if (*minorp == '.') { |
537 | if (num < 4) | 537 | if (num != 4) |
538 | return -EINVAL; | 538 | return -EINVAL; |
539 | minor = simple_strtoul(minorp+1, NULL, 0); | 539 | minor = simple_strtoul(minorp+1, NULL, 0); |
540 | if (minor == 0) | 540 | if (minor == 0) |