diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-03-08 21:56:37 +0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-03-21 00:45:16 +0400 |
commit | cf4ab538f1516606d3ae730dce15d6f33d96b7e1 (patch) | |
tree | 28c52dbb7cbdcf0f02aaca0c4c0b2e1c28250f1a /fs/nfs/blocklayout | |
parent | 6dbe51c251a327e012439c4772097a13df43c5b8 (diff) | |
download | linux-cf4ab538f1516606d3ae730dce15d6f33d96b7e1.tar.xz |
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/blocklayout')
0 files changed, 0 insertions, 0 deletions