[PATCH] md: locking fix
authorIngo Molnar <mingo@elte.hu>
Thu, 20 Apr 2006 09:43:23 +0000 (02:43 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 20 Apr 2006 14:54:04 +0000 (07:54 -0700)
commit5dc5cf7dd2723430b6df3d91c5b22af49e063622
treef0c3575c153a82173e030fbd5a3538b10ece4903
parent72b38d436e4cd18185de11f4b48a6e62eb104644
[PATCH] md: locking fix

- fix mddev_lock() usage bugs in md_attr_show() and md_attr_store().
  [they did not anticipate the possibility of getting a signal]

- remove mddev_lock_uninterruptible() [unused]

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Acked-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/md.c