]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] NFS2: Calculate 'w' a bit later in nfsaclsvc_encode_getaclres()
authorJesper Juhl <jesper.juhl@gmail.com>
Fri, 8 Dec 2006 10:39:39 +0000 (02:39 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 8 Dec 2006 16:29:01 +0000 (08:29 -0800)
commitb2161005ab0d06559d7d583f0d1ea6e5cbfac531
treedb13839b65b036ef7d2cf3cf596b8512fe1b7f48
parent727de94297dcd64c1bb836f084b2e3a92c76488e
[PATCH] NFS2: Calculate 'w' a bit later in nfsaclsvc_encode_getaclres()

NFS2: Calculate 'w' a bit later in nfsaclsvc_encode_getaclres()
      This is a small performance optimization since we can return before
      needing 'w'. It also saves a few bytes of .text :
      Before:
           text    data     bss     dec     hex filename
           2406     212       0    2618     a3a fs/nfsd/nfs2acl.o
      After:
           text    data     bss     dec     hex filename
           2400     212       0    2612     a34 fs/nfsd/nfs2acl.o

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Cc: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/nfsd/nfs2acl.c