aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs')
-rw-r--r--fs/nfs/nfs4state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs4state.c b/fs/nfs/nfs4state.c
index 452f4c8dadea..c8e729deb4f7 100644
--- a/fs/nfs/nfs4state.c
+++ b/fs/nfs/nfs4state.c
@@ -1476,7 +1476,7 @@ restart:
1476 if (status >= 0) { 1476 if (status >= 0) {
1477 status = nfs4_reclaim_locks(state, ops); 1477 status = nfs4_reclaim_locks(state, ops);
1478 if (status >= 0) { 1478 if (status >= 0) {
1479 if (test_bit(NFS_DELEGATED_STATE, &state->flags) != 0) { 1479 if (!test_bit(NFS_DELEGATED_STATE, &state->flags)) {
1480 spin_lock(&state->state_lock); 1480 spin_lock(&state->state_lock);
1481 list_for_each_entry(lock, &state->lock_states, ls_locks) { 1481 list_for_each_entry(lock, &state->lock_states, ls_locks) {
1482 if (!test_bit(NFS_LOCK_INITIALIZED, &lock->ls_flags)) 1482 if (!test_bit(NFS_LOCK_INITIALIZED, &lock->ls_flags))