From: Jeff Layton Date: Thu, 31 Oct 2013 17:03:04 +0000 (-0400) Subject: nfs: fix inverted test for delegation in nfs4_reclaim_open_state X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~60^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1acd1c301f4faae80f4d2c7bbd9a4553b131c0e3;p=pandora-kernel.git nfs: fix inverted test for delegation in nfs4_reclaim_open_state commit 6686390bab6a0e0 (NFS: remove incorrect "Lock reclaim failed!" warning.) added a test for a delegation before checking to see if any reclaimed locks failed. The test however is backward and is only doing that check when a delegation is held instead of when one isn't. Cc: NeilBrown Signed-off-by: Jeff Layton Fixes: 6686390bab6a: NFS: remove incorrect "Lock reclaim failed!" warning. Cc: stable@vger.kernel.org # 3.12 Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed