diff options
author | Jesper Juhl <jesper.juhl@gmail.com> | 2006-12-08 02:39:40 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-08 08:29:02 -0800 |
commit | 14d2b59e8c1634ceb995097b162592b0af139578 (patch) | |
tree | 4e46ee276d756cfefa3b6e8e38e2f8d2b4cb0215 /fs/nfsd/nfscache.c | |
parent | cb65a5ba3dcef3184ef1ba026b1e268bd1a9323f (diff) | |
download | op-kernel-dev-14d2b59e8c1634ceb995097b162592b0af139578.zip op-kernel-dev-14d2b59e8c1634ceb995097b162592b0af139578.tar.gz |
[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>
Diffstat (limited to 'fs/nfsd/nfscache.c')
0 files changed, 0 insertions, 0 deletions