diff options
author | Jeff Mahoney <jeffm@suse.com> | 2009-07-07 23:22:12 +0200 |
---|---|---|
committer | Joel Becker <joel.becker@oracle.com> | 2009-07-09 00:34:02 +0200 |
commit | 8b712cd58adfe6aeeb0be4ecc011dc35620719e7 (patch) | |
tree | 98a0cdc0b210392fc0fd0feb464603224c2863b1 /tools/perf/util/util.h | |
parent | x86: don't clear nodes_states[N_NORMAL_MEMORY] when numa is not compiled in (diff) | |
download | linux-8b712cd58adfe6aeeb0be4ecc011dc35620719e7.tar.xz linux-8b712cd58adfe6aeeb0be4ecc011dc35620719e7.zip |
ocfs2: Fixup orphan scan cleanup after failed mount
If the mount fails for any reason, ocfs2_dismount_volume calls
ocfs2_orphan_scan_stop. It requires that ocfs2_orphan_scan_init
be called to setup the mutex and work queues, but that doesn't
happen if the mount has failed and we oops accessing an uninitialized
work queue.
This patch splits the init and startup of the orphan scan, eliminating
the oops.
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Diffstat (limited to 'tools/perf/util/util.h')
0 files changed, 0 insertions, 0 deletions