aboutsummaryrefslogtreecommitdiff
path: root/fs/hfs/catalog.c
diff options
context:
space:
mode:
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>2009-11-17 14:40:26 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2009-12-18 13:30:41 -0800
commit7a3390e41955ec09330821ba7b5231fc5b333453 (patch)
tree13d31134bcc5e12b0b94cb61534fb6cf670e59f1 /fs/hfs/catalog.c
parentff932efbb7317d906ba8441759ee6c11510e972d (diff)
debugfs: fix create mutex racy fops and private data
commit d3a3b0adad0865c12e39b712ca89efbd0a3a0dbc upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/hfs/catalog.c')
0 files changed, 0 insertions, 0 deletions