diff options
author | Jiri Kosina <jkosina@suse.cz> | 2013-04-22 15:40:15 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-04-25 21:23:48 -0700 |
commit | bb5489176fda28aff304b59e0405f7d7d4906224 (patch) | |
tree | 26ccc319459a55b26e05a9ec4d345bf2540569a6 /firmware | |
parent | 0236d37edc0522f37b83eba35432815cd98789ff (diff) | |
download | lwn-bb5489176fda28aff304b59e0405f7d7d4906224.tar.gz lwn-bb5489176fda28aff304b59e0405f7d7d4906224.zip |
Revert "sysfs: fix race between readdir and lseek"
This reverts commit 991f76f837bf22c5bb07261cfd86525a0a96650c in Linus'
tree which is f366c8f271888f48e15cc7c0ab70f184c220c8a4 in
linux-stable.git
It depends on ef3d0fd27e90f ("vfs: do (nearly) lockless generic_file_llseek")
which is available only in 3.2+.
When applied on 3.0 codebase, it causes A-A deadlock, whenever anyone does
seek() on sysfs, as both generic_file_llseek() and sysfs_dir_llseek() obtain
i_mutex.
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Cc: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions