diff options
author | Jesper Juhl <jesper.juhl@gmail.com> | 2006-12-08 02:39:39 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-08 08:29:01 -0800 |
commit | cb65a5ba3dcef3184ef1ba026b1e268bd1a9323f (patch) | |
tree | db13839b65b036ef7d2cf3cf596b8512fe1b7f48 /fs/nfsd/nfs3acl.c | |
parent | 4b75f78edcab291eb29fe9a205cbf7b80c1c644f (diff) |
[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>
Diffstat (limited to 'fs/nfsd/nfs3acl.c')
0 files changed, 0 insertions, 0 deletions