From: Christoph Hellwig Date: Tue, 23 Sep 2014 06:58:48 +0000 (+0200) Subject: nfsd: fix nfsd4_cb_recall_done error handling X-Git-Tag: fixes-for-v3.18-merge-window~9^2~9 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=444b6e910d2a637cc144c74b15efd1b61bf737bb;p=pandora-kernel.git nfsd: fix nfsd4_cb_recall_done error handling For any error that is not EBADHANDLE or NFS4ERR_BAD_STATEID, nfsd4_cb_recall_done first marks the connection down, then retries until dl_retries hits zero, then marks the connection down again and sets cb_done. This changes the code to only retry for EBADHANDLE or NFS4ERR_BAD_STATEID, and factors setting cb_done into a single point in the function. Signed-off-by: Christoph Hellwig Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed