From d12799b4c3c4d1e65d7fdbb5d91538c92d6863dd Mon Sep 17 00:00:00 2001 From: Pavel Shilovsky Date: Wed, 26 Oct 2011 23:41:04 +0400 Subject: 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 Signed-off-by: Steve French --- fs/cifs/file.c | 1 - 1 file changed, 1 deletion(-) (limited to 'fs/cifs') diff --git a/fs/cifs/file.c b/fs/cifs/file.c index ea096ce5d4f7..91e05f2f0acf 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); } } -- cgit v1.2.3