diff options
author | J.Bruce Fields <bfields@fieldses.org> | 2006-12-13 09:35:39 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-13 18:05:54 +0100 |
commit | eeac294ebd9254a937d90b00c48863e3af229047 (patch) | |
tree | 488ef0b8e4bb656423c03461ec1d4087c383c9b5 /include/sound/memalloc.h | |
parent | [PATCH] knfsd: nfsd4: reorganize compound ops (diff) | |
download | linux-eeac294ebd9254a937d90b00c48863e3af229047.tar.xz linux-eeac294ebd9254a937d90b00c48863e3af229047.zip |
[PATCH] knfsd: nfsd4: simplify migration op check
I'm not too fond of these big if conditions. Replace them by checks of a flag
in the operation descriptor. To my eye this makes the code a bit more
self-documenting, and makes the complicated part of the code (proc_compound) a
little more compact.
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/sound/memalloc.h')
0 files changed, 0 insertions, 0 deletions