From a45fb7f9dc508aea6adff9b9f90ca647943f7e37 Mon Sep 17 00:00:00 2001 From: Dan Carpenter Date: Wed, 28 Mar 2012 13:44:59 +0300 Subject: [PATCH] --- yaml --- r: 297473 b: refs/heads/master c: 3af706135bcc06b1519ba50beaf1b47d32d0fc26 h: refs/heads/master i: 297471: f7adfc76a702536e3b1394682db1ed1e897adb50 v: v3 --- [refs] | 2 +- trunk/fs/nfsd/nfs4idmap.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index efb0a2530c1e..d456d3ed5318 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 92769108f5382a0bdb4c35eb80c183fb7797cfae +refs/heads/master: 3af706135bcc06b1519ba50beaf1b47d32d0fc26 diff --git a/trunk/fs/nfsd/nfs4idmap.c b/trunk/fs/nfsd/nfs4idmap.c index 69ca9c5bb600..322d11ce06a4 100644 --- a/trunk/fs/nfsd/nfs4idmap.c +++ b/trunk/fs/nfsd/nfs4idmap.c @@ -581,7 +581,7 @@ numeric_name_to_id(struct svc_rqst *rqstp, int type, const char *name, u32 namel /* Just to make sure it's null-terminated: */ memcpy(buf, name, namelen); buf[namelen] = '\0'; - ret = strict_strtoul(name, 10, (unsigned long *)id); + ret = kstrtouint(name, 10, id); return ret == 0; }