commit | 2ecf0cdb2b437402110ab57546e02abfa68a716b | [log] [tgz] |
---|---|---|
author | Zheng Liu <wenqing.lz@taobao.com> | Sun Nov 29 17:21:57 2015 -0800 |
committer | Jens Axboe <axboe@fb.com> | Wed Dec 30 20:23:11 2015 -0700 |
tree | 70598cf87f6206433d4ba1a3bd2584c82ae23716 | |
parent | 4d4d8573a8451acc9f01cbea24b7e55f04a252fe [diff] |
bcache: unregister reboot notifier if bcache fails to unregister device In bcache_init() function it forgot to unregister reboot notifier if bcache fails to unregister a block device. This commit fixes this. Signed-off-by: Zheng Liu <wenqing.lz@taobao.com> Tested-by: Joshua Schmid <jschmid@suse.com> Tested-by: Eric Wheeler <bcache@linux.ewheeler.net> Cc: Kent Overstreet <kmo@daterainc.com> Cc: stable@vger.kernel.org Signed-off-by: Jens Axboe <axboe@fb.com>