Kent Overstreet c9502ea442 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
2013-07-12 00:22:47 -07:00
..
2013-04-24 11:42:41 +10:00
2013-03-01 22:45:51 +00:00
2013-03-01 22:45:51 +00:00
2012-03-28 18:41:29 +01:00
2013-03-01 22:45:51 +00:00
2013-05-10 14:37:21 +01:00
2012-07-30 17:25:16 -07:00
2013-05-10 14:37:16 +01:00
2013-05-10 14:37:16 +01:00
2013-03-01 22:45:47 +00:00
2012-12-21 20:23:38 +00:00
2013-03-23 14:15:29 -07:00
2013-03-23 16:11:31 -07:00
2013-03-23 14:15:29 -07:00
2013-03-23 16:11:31 -07:00
2013-06-13 10:13:29 -07:00
2013-04-24 11:42:43 +10:00
2013-06-13 10:13:29 -07:00
2013-06-13 10:13:29 -07:00
2013-06-13 10:13:29 -07:00