From: Chuck Lever Date: Fri, 28 Jan 2011 17:40:55 +0000 (-0500) Subject: NFS: Micro-optimize nfs4_decode_dirent() X-Git-Tag: v2.6.38-rc3~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c08e76d0cd4beb759a73c1835d98f5fccc126ed1;p=pandora-kernel.git NFS: Micro-optimize nfs4_decode_dirent() Make the decoding of NFSv4 directory entries slightly more efficient by: 1. Avoiding unnecessary byte swapping when checking XDR booleans, and 2. Not bumping "p" when its value will be immediately replaced by xdr_inline_decode() This commit makes nfs4_decode_dirent() consistent with similar logic in the other two decode_dirent() functions. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed