Messages in this thread Patch in this message | ![/](/images/icornerl.gif) | | From | NeilBrown <> | Date | Fri, 8 Dec 2006 12:14:13 +1100 | Subject | [PATCH 010 of 18] knfsd: nfsd4: remove spurious replay_owner check |
| |
From: J.Bruce Fields <bfields@fieldses.org>
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>
### Diffstat output ./fs/nfsd/nfs4proc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff .prev/fs/nfsd/nfs4proc.c ./fs/nfsd/nfs4proc.c --- .prev/fs/nfsd/nfs4proc.c 2006-12-08 12:09:27.000000000 +1100 +++ ./fs/nfsd/nfs4proc.c 2006-12-08 12:09:27.000000000 +1100 @@ -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; } - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| ![\](/images/icornerr.gif) |