[PATCH] knfsd: nfsd4: remove spurious replay_owner check
authorJ.Bruce Fields <bfields@fieldses.org>
Wed, 13 Dec 2006 08:35:28 +0000 (00:35 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Wed, 13 Dec 2006 17:05:54 +0000 (09:05 -0800)
OK, this is embarassing--I've even looked back at the history, and cannot for
the life of me figure out why I added this check.

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

index 1b6756aa013cf993791de489cc48dfd26d8c5d7c..0166b49fb23ec40d9794007dd0179bbc9d68a0ea 100644 (file)
@@ -1008,7 +1008,7 @@ encode_op:
                        nfsd4_encode_operation(resp, op);
                        status = op->status;
                }
-               if (replay_owner && (replay_owner != (void *)(-1))) {
+               if (replay_owner) {
                        nfs4_put_stateowner(replay_owner);
                        replay_owner = NULL;
                }