]> git.hungrycats.org Git - linux/commit
[PATCH] nfsd4: move open owner checks from nfsd4_process_open2 into new function
authorNeil Brown <neilb@cse.unsw.edu.au>
Wed, 20 Oct 2004 01:25:56 +0000 (18:25 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 20 Oct 2004 01:25:56 +0000 (18:25 -0700)
commitce02bf8f0b205737f0a09f0447845d77cf252342
tree1f5e0c1748729418fb90aad56e2b57db9160099d
parent4193c5f89b94bd9c86ab8874eaaf365e62509dc4
[PATCH] nfsd4: move open owner checks from nfsd4_process_open2 into new function

nfsd4_process_open2 has become a bit long and contorted.  The following
patches break nfsd4_process_open2 into smaller functions and add comments to
describe logic flow, in preparation for delegation state.

We begin by pulling out the code that searches for conflicting open owners
into a separate function.

Signed-off-by: Andy Adamson <andros@citi.umich.edu>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/nfsd/nfs4state.c