nfsd: do not clear rpc_resp in nfsd4_cb_done_sequence
authorBenny Halevy <bhalevy@panasas.com>
Tue, 23 Sep 2014 06:58:49 +0000 (08:58 +0200)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 26 Sep 2014 20:29:25 +0000 (16:29 -0400)
commit341b51df1fef0a39d792fb1c7d7856cf142627ab
treea9599a4b6b028103baa471dbb02f95ca3b6acad4
parent444b6e910d2a637cc144c74b15efd1b61bf737bb
nfsd: do not clear rpc_resp in nfsd4_cb_done_sequence

This is incorrect when a callback is has to be restarted, in which case
the XDR decoding of the second iteration will see a NULL cb argument.

[hch: updated description]
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4callback.c