Hugh Dickins 266d4f4037 [PATCH] suspend regression: sysfs deadlock
Suspend deadlocks when trying to unregister /sys/block/sr0.

This comes from Oliver's commit 94bebf4d1b8e7719f0f3944c037a21cfd99a4af7
"Driver core: fix race in sysfs between sysfs_remove_file() and
read()/write()".

sysfs_write_file downs buffer->sem while calling flush_write_buffer, and
flushing that particular write buffer entails downing buffer->sem in
orphan_all_buffers, resulting in the obvious self-deadlock.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-03-06 17:59:14 -08:00
..
2007-02-20 17:10:15 -08:00
2007-02-17 19:23:03 +01:00
2007-02-20 17:10:13 -08:00
2006-10-04 06:51:26 -06:00
2007-03-06 09:30:25 -08:00
2006-12-07 08:39:25 -08:00
2006-04-11 13:53:33 +02:00
2007-02-17 16:10:59 -05:00
2006-12-07 08:39:25 -08:00
2007-02-17 21:30:15 -05:00
2006-10-01 00:39:19 -07:00
2006-12-13 09:05:47 -08:00