From a8f9d31840f0c069f5cb7a01940527bdcebec8e9 Mon Sep 17 00:00:00 2001 From: Malahal Naineni Date: Sun, 9 Sep 2012 10:25:47 -0500 Subject: [PATCH] --- yaml --- r: 334062 b: refs/heads/master c: 9959ba0c241a71c7ed8133401cfbbee2720da0b5 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/nfsd/nfs4idmap.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 6b99ffeab108..6060b46f50ca 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 8c8651b8e2d2957e94c19bc72fd6b7cf9b47fce8 +refs/heads/master: 9959ba0c241a71c7ed8133401cfbbee2720da0b5 diff --git a/trunk/fs/nfsd/nfs4idmap.c b/trunk/fs/nfsd/nfs4idmap.c index 11df4aca89ba..a1f10c0a6255 100644 --- a/trunk/fs/nfsd/nfs4idmap.c +++ b/trunk/fs/nfsd/nfs4idmap.c @@ -598,7 +598,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 = kstrtouint(name, 10, id); + ret = kstrtouint(buf, 10, id); return ret == 0; }