nfsd4: eliminate impossible open replay case
authorJ. Bruce Fields <bfields@redhat.com>
Thu, 25 Aug 2011 22:17:52 +0000 (18:17 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 1 Sep 2011 11:29:01 +0000 (07:29 -0400)
commitfff6ca9cc46857e5814cf687e5fb1b8a876766a4
treeb96032c84f885c5be6a2efd8326873f80150419c
parent5ec094c1096ab3bb795651855d53f18daa26afde
nfsd4: eliminate impossible open replay case

If open fails with any error other than nfserr_replay_me, then the main
nfsd4_proc_compound() loop continues unconditionally to
nfsd4_encode_operation(), which will always call encode_seqid_op_tail.
Thus the condition we check for here does not occur.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c