From: Trond Myklebust Date: Fri, 8 Mar 2013 17:56:37 +0000 (-0500) Subject: NFSv4: Fix the string length returned by the idmapper X-Git-Tag: v3.9-rc5~29^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf4ab538f1516606d3ae730dce15d6f33d96b7e1;p=pandora-kernel.git 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 Signed-off-by: Trond Myklebust Cc: Bryan Schumaker Cc: stable@vger.kernel.org [>=3.4] --- Reading git-diff-tree failed