diff options
Diffstat (limited to 'xlators/features/locks/src/posix.c')
| -rw-r--r-- | xlators/features/locks/src/posix.c | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/features/locks/src/posix.c b/xlators/features/locks/src/posix.c index 32d37f6abea..2c0f583e6f7 100644 --- a/xlators/features/locks/src/posix.c +++ b/xlators/features/locks/src/posix.c @@ -360,6 +360,8 @@ __delete_locks_of_owner (pl_inode_t *pl_inode,          /* TODO: what if it is a blocked lock with pending l->frame */          list_for_each_entry_safe (l, tmp, &pl_inode->ext_list, list) { +                if (l->blocked) +                        continue;                  if ((l->transport == transport) &&                      is_same_lkowner (&l->owner, owner)) {                          gf_log ("posix-locks", GF_LOG_TRACE,  | 
