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

This comes from Oliver's commit 94bebf4d1b
"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
..
Makefile
bin.c
dir.c [PATCH] Fix 2.6.21 rfcomm lockups 2007-03-06 09:30:24 -08:00
file.c sysfs: allow attributes to be added to groups 2007-02-23 15:03:46 -08:00
group.c
inode.c [PATCH] suspend regression: sysfs deadlock 2007-03-06 17:59:14 -08:00
mount.c
symlink.c
sysfs.h sysfs: move struct sysfs_dirent to private header 2007-02-23 14:52:09 -08:00