diff options
| author | Alan Stern <[email protected]> | 2007-03-15 15:51:28 -0400 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-03-15 15:29:26 -0700 |
| commit | e7b0d26a86943370c04d6833c6edba2a72a6e240 (patch) | |
| tree | 696e696176a1e72abb80afa6112fc057b39bf86b /include/linux/debugobjects.h | |
| parent | d9a9cdfb078d755e648d53ec25b7370f84ee5729 (diff) | |
[PATCH] sysfs: reinstate exclusion between method calls and attribute unregistration
This patch (as869) reinstates the mutual exclusion between sysfs
attribute method calls and attribute unregistration. The
previously-reported deadlocks have been fixed, and this exclusion is
by far the simplest way to avoid races during driver unbinding.
The check for orphaned read-buffers has been moved down slightly, so
that the remainder of a partially-read buffer will still be available
to userspace even after the attribute has been unregistered.
Signed-off-by: Alan Stern <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: Cornelia Huck <[email protected]>
Cc: Oliver Neukum <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions