nfsd: split transport vs operation errors for callbacks
authorChristoph Hellwig <hch@lst.de>
Thu, 30 Apr 2015 09:49:23 +0000 (11:49 +0200)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 4 May 2015 16:02:40 +0000 (12:02 -0400)
commitef2a1b3e1067195f1d6b89d8329454775c87f033
tree3b6f3b6ba97ceabf6c7bccfae22c6f2a8229ff5d
parent9507271d960a1911a51683888837d75c171cd91f
nfsd: split transport vs operation errors for callbacks

We must only increment the sequence id if the client has seen and responded
to a request.  If we failed to deliver it to the client we must resend with
the same sequence id.  So just like the client track errors at the transport
level differently from those returned in the XDR.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4callback.c
fs/nfsd/state.h