diff options
author | Kent Overstreet <kmo@daterainc.com> | 2013-07-10 21:25:02 -0700 |
---|---|---|
committer | Kent Overstreet <kmo@daterainc.com> | 2013-07-12 00:22:47 -0700 |
commit | c9502ea4424b31728703d113fc6b30bfead14633 (patch) | |
tree | 5ce21818de392f7873708f8db65b031223b04c2e /mm/mprotect.c | |
parent | 54d12f2b4fd0f218590d1490b41a18d0e2328a9a (diff) |
bcache: Fix a sysfs splat on shutdown
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>
Cc: linux-stable <stable@vger.kernel.org> # >= v3.10
Diffstat (limited to 'mm/mprotect.c')
0 files changed, 0 insertions, 0 deletions