]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] NFS3: Calculate 'w' a bit later in nfs3svc_encode_getaclres()
authorJesper Juhl <jesper.juhl@gmail.com>
Fri, 8 Dec 2006 10:39:40 +0000 (02:39 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 8 Dec 2006 16:29:02 +0000 (08:29 -0800)
commit14d2b59e8c1634ceb995097b162592b0af139578
tree4e46ee276d756cfefa3b6e8e38e2f8d2b4cb0215
parentcb65a5ba3dcef3184ef1ba026b1e268bd1a9323f
[PATCH] NFS3: Calculate 'w' a bit later in nfs3svc_encode_getaclres()

NFS3: Calculate 'w' a bit later in nfs3svc_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
           1632     140       0    1772     6ec fs/nfsd/nfs3acl.o
      After:
           text    data     bss     dec     hex filename
           1624     140       0    1764     6e4 fs/nfsd/nfs3acl.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/nfs3acl.c