lkml.org 
[lkml]   [2013]   [May]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] cciss: fix broken mutex usage in ioctl
On Fri, 24 May 2013 14:28:41 -0500 "Stephen M. Cameron" <scameron@beardog.cce.hp.com> wrote:

> If a new logical drive is added and the CCISS_REGNEWD ioctl is invoked
> (as is normal with the Array Configuration Utility) the process
> will hang as below. It attempts to acquire the same mutex twice, once
> in do_ioctl() and once in cciss_unlocked_open(). The BKL was recursive,
> the mutex isn't.

huh, now that's a really old-school deadlock. I wonder why lockdep
didn't shout about it.



\
 
 \ /
  Last update: 2013-05-30 00:21    [W:0.053 / U:0.572 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site