diff options
author | Kent Overstreet <kmo@daterainc.com> | 2013-07-10 21:25:02 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-07-28 16:30:10 -0700 |
commit | fe1b710530e60c8fbb07a73ad27e9f65305ce06a (patch) | |
tree | 916fed1e78bcabcb945a0e960508a97d6e7227b4 /firmware/emi62 | |
parent | 63a53870bb23c2d991f378ae9137d775978d5ae9 (diff) |
bcache: Fix a sysfs splat on shutdown
commit c9502ea4424b31728703d113fc6b30bfead14633 upstream.
If we stopped a bcache device when we were already detaching (or
something like that), bcache_device_unlink() would try to remove a
symlink from sysfs that was already gone because the bcache dev kobject
had already been removed from sysfs.
So keep track of whether we've removed stuff from sysfs.
Signed-off-by: Kent Overstreet <kmo@daterainc.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'firmware/emi62')
0 files changed, 0 insertions, 0 deletions