aboutsummaryrefslogtreecommitdiff
path: root/fs/cifs
diff options
context:
space:
mode:
authorPavel Shilovsky <piastry@etersoft.ru>2011-10-26 23:41:04 +0400
committerSteve French <smfrench@gmail.com>2011-10-28 14:09:23 -0500
commitd12799b4c3c4d1e65d7fdbb5d91538c92d6863dd (patch)
tree02e0ac60f194bccb8238a3628a2969317d58c289 /fs/cifs
parentf362f98e7c445643d27c610bb7a86b79727b592e (diff)
CIFS: Remove extra mutex_unlock in cifs_lock_add_if
to prevent the mutex being unlocked twice if we interrupt a blocked lock. Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru> Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs')
-rw-r--r--fs/cifs/file.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/cifs/file.c b/fs/cifs/file.c
index ea096ce5d4f..91e05f2f0ac 100644
--- a/fs/cifs/file.c
+++ b/fs/cifs/file.c
@@ -778,7 +778,6 @@ try_again:
else {
mutex_lock(&cinode->lock_mutex);
list_del_init(&lock->blist);
- mutex_unlock(&cinode->lock_mutex);
}
}