NFS fix error return in nfs4_select_rw_stateid
authorAndy Adamson <andros@netapp.com>
Tue, 18 Feb 2014 15:36:05 +0000 (10:36 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 19 Feb 2014 14:31:56 +0000 (09:31 -0500)
commit146d70caaa1b87f64597743429d7da4b8073d0c9
tree506c3dacecdf6bc0d4848942178866a09eb943c1
parent292f503cade2b1d966239ef56a851e6897d1ba92
NFS fix error return in nfs4_select_rw_stateid

Do not return an error when nfs4_copy_delegation_stateid succeeds.

Signed-off-by: Andy Adamson <andros@netapp.com>
Link: http://lkml.kernel.org/r/1392737765-41942-1-git-send-email-andros@netapp.com
Fixes: ef1820f9be27b (NFSv4: Don't try to recover NFSv4 locks when...)
Cc: NeilBrown <neilb@suse.de>
Cc: stable@vger.kernel.org # 3.12+
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/nfs4state.c