trivially correct - merged

On Wed, Oct 26, 2011 at 2:41 PM, Pavel Shilovsky <[email protected]> wrote:
> to prevent the mutex being unlocked twice if we interrupt a blocked lock.
>
> Signed-off-by: Pavel Shilovsky <[email protected]>
> ---
>  fs/cifs/file.c |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/fs/cifs/file.c b/fs/cifs/file.c
> index 3ad89ec..3dd9af6 100644
> --- a/fs/cifs/file.c
> +++ b/fs/cifs/file.c
> @@ -899,7 +899,6 @@ try_again:
>                else {
>                        mutex_lock(&cinode->lock_mutex);
>                        list_del_init(&lock->blist);
> -                       mutex_unlock(&cinode->lock_mutex);
>                }
>        }
>
> --
> 1.7.1
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
> the body of a message to [email protected]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>



-- 
Thanks,

Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to