summaryrefslogtreecommitdiff
path: root/fs/nfs/nfs4proc.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2013-03-08 12:56:37 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-04-05 09:25:51 -0700
commitc648a421337d1dea3bb05ff035f03b88c4320299 (patch)
treec1299d72c5147fd54488a9cea8bb89b083376099 /fs/nfs/nfs4proc.c
parent880a4e09e465c4fbb3f2f773803240f58d5ef078 (diff)
NFSv4: Fix the string length returned by the idmapper
commit cf4ab538f1516606d3ae730dce15d6f33d96b7e1 upstream. Functions like nfs_map_uid_to_name() and nfs_map_gid_to_group() are expected to return a string without any terminating NUL character. Regression introduced by commit 57e62324e469e092ecc6c94a7a86fe4bd6ac5172 (NFS: Store the legacy idmapper result in the keyring). Reported-by: Dave Chiluk <dave.chiluk@canonical.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> Cc: Bryan Schumaker <bjschuma@netapp.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/nfs/nfs4proc.c')
0 files changed, 0 insertions, 0 deletions