diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-03-08 12:56:37 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-03-20 16:45:16 -0400 |
commit | cf4ab538f1516606d3ae730dce15d6f33d96b7e1 (patch) | |
tree | 28c52dbb7cbdcf0f02aaca0c4c0b2e1c28250f1a /fs/nfs/dns_resolve.c | |
parent | 6dbe51c251a327e012439c4772097a13df43c5b8 (diff) |
NFSv4: Fix the string length returned by the idmapper
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>
Cc: stable@vger.kernel.org [>=3.4]
Diffstat (limited to 'fs/nfs/dns_resolve.c')
0 files changed, 0 insertions, 0 deletions