summaryrefslogtreecommitdiffstats
path: root/fs/sysfs
diff options
context:
space:
mode:
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>2009-11-17 23:40:26 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2009-12-11 20:24:53 +0100
commitd3a3b0adad0865c12e39b712ca89efbd0a3a0dbc (patch)
tree31a8363a2e908d65514aa8f176ecfa7e57fc8f2a /fs/sysfs
parentDriver core: Don't remove kobjects in device_shutdown. (diff)
downloadlinux-d3a3b0adad0865c12e39b712ca89efbd0a3a0dbc.tar.xz
linux-d3a3b0adad0865c12e39b712ca89efbd0a3a0dbc.zip
debugfs: fix create mutex racy fops and private data
Setting fops and private data outside of the mutex at debugfs file creation introduces a race where the files can be opened with the wrong file operations and private data. It is easy to trigger with a process waiting on file creation notification. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/sysfs')
0 files changed, 0 insertions, 0 deletions