]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] knfsd: nfsd4: simplify migration op check
authorJ.Bruce Fields <bfields@fieldses.org>
Wed, 13 Dec 2006 08:35:39 +0000 (00:35 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Wed, 13 Dec 2006 17:05:54 +0000 (09:05 -0800)
commiteeac294ebd9254a937d90b00c48863e3af229047
tree488ef0b8e4bb656423c03461ec1d4087c383c9b5
parentb591480bbe1a7f0e90533bce8ea86efecc84648e
[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>
fs/nfsd/nfs4proc.c