diff options
author | Borislav Petkov <bp@suse.de> | 2016-02-02 12:59:53 +0300 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2016-02-02 13:04:29 +0300 |
commit | 096676061987c613bdacddbae838cb63a815db94 (patch) | |
tree | 9a73f90b19376faf2e9c5a55a038000d6ac25594 /Documentation/filesystems/caching/fscache.txt | |
parent | f5793c970888e48542de4ae152d16308873f29e4 (diff) | |
download | linux-096676061987c613bdacddbae838cb63a815db94.tar.xz |
EDAC: Balance workqueue setup and teardown
We use the ->edac_check function pointers to determine whether we need
to setup a polling workqueue. However, the destroy path is not balanced
and we might try to teardown an unitialized workqueue.
Balance init and destroy paths by looking at ->edac_check in both cases.
Set op_state to OP_OFFLINE *before* destroying anything.
Reported-by: Zhiqiang Hou <Zhiqiang.Hou@freescale.com>
Cc: Varun Sethi <Varun.Sethi@freescale.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'Documentation/filesystems/caching/fscache.txt')
0 files changed, 0 insertions, 0 deletions