dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bin.c sysfs: kobject_put cleanup 2007-02-07 10:37:13 -08:00
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 sysfs: Shadow directory support 2007-02-07 10:37:14 -08:00
inode.c [PATCH] suspend regression: sysfs deadlock 2007-03-06 17:59:14 -08:00
mount.c [PATCH] Mark struct super_operations const 2007-02-12 09:48:47 -08:00
symlink.c [PATCH] mark struct inode_operations const 3 2007-02-12 09:48:46 -08:00
sysfs.h sysfs: move struct sysfs_dirent to private header 2007-02-23 14:52:09 -08:00