aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorChuck Lever <[email protected]>2011-01-28 17:40:55 +0000
committerTrond Myklebust <[email protected]>2011-01-28 18:37:35 +0000
commitc08e76d0cd4beb759a73c1835d98f5fccc126ed1 (patch)
treee1cd5414a2aba7c4e414bf93473f599c40717d80 /net/unix/af_unix.c
parentNFS: Fix an NFS client lockdep issue (diff)
downloadkernel-c08e76d0cd4beb759a73c1835d98f5fccc126ed1.tar.gz
kernel-c08e76d0cd4beb759a73c1835d98f5fccc126ed1.zip
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 <[email protected]> Signed-off-by: Trond Myklebust <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions