diff options
Diffstat (limited to 'fs/nfsd')
-rw-r--r-- | fs/nfsd/nfs4idmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4idmap.c b/fs/nfsd/nfs4idmap.c index 69ca9c5bb600..322d11ce06a4 100644 --- a/fs/nfsd/nfs4idmap.c +++ b/fs/nfsd/nfs4idmap.c | |||
@@ -581,7 +581,7 @@ numeric_name_to_id(struct svc_rqst *rqstp, int type, const char *name, u32 namel | |||
581 | /* Just to make sure it's null-terminated: */ | 581 | /* Just to make sure it's null-terminated: */ |
582 | memcpy(buf, name, namelen); | 582 | memcpy(buf, name, namelen); |
583 | buf[namelen] = '\0'; | 583 | buf[namelen] = '\0'; |
584 | ret = strict_strtoul(name, 10, (unsigned long *)id); | 584 | ret = kstrtouint(name, 10, id); |
585 | return ret == 0; | 585 | return ret == 0; |
586 | } | 586 | } |
587 | 587 | ||