[PATCH] knfsd: nfsd4: pass saved and current fh together into nfsd4 operations
authorJ.Bruce Fields <bfields@fieldses.org>
Wed, 13 Dec 2006 08:35:27 +0000 (00:35 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Wed, 13 Dec 2006 17:05:54 +0000 (09:05 -0800)
commitca3643171bc6e08b7c4d1f9a2ce659541a01a7fe
tree2128accc9584e7dd69f6b62c62ef6631f5da231f
parent01f3bd1f03599470e4695392b6ae055ed8506978
[PATCH] knfsd: nfsd4: pass saved and current fh together into nfsd4 operations

Pass the saved and current filehandles together into all the nfsd4 compound
operations.

I want a unified interface to these operations so we can just call them by
pointer and throw out the huge switch statement.

Also I'll eventually want a structure like this--that holds the state used
during compound processing--for deferral.

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
fs/nfsd/nfs4state.c
include/linux/nfsd/xdr4.h