diff options
author | Shaohua Li <shli@fb.com> | 2016-09-13 10:28:00 -0700 |
---|---|---|
committer | Shaohua Li <shli@fb.com> | 2016-09-21 09:09:44 -0700 |
commit | f71f1cf97c781db1be8ae0190e0983e1fceac14a (patch) | |
tree | 154a1cf49bf2697d6a311f42ec871b83c50267c8 /drivers/md/dm-cache-policy-smq.c | |
parent | 1dffddddd8315863f1a6d79c512b737864ef6a1a (diff) | |
download | linux-f71f1cf97c781db1be8ae0190e0983e1fceac14a.tar.gz linux-f71f1cf97c781db1be8ae0190e0983e1fceac14a.tar.bz2 linux-f71f1cf97c781db1be8ae0190e0983e1fceac14a.zip |
md/bitmap: fix wrong cleanup
if bitmap_create fails, the bitmap is already cleaned up and the returned value
is an error number. We can't do the cleanup again.
Reported-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'drivers/md/dm-cache-policy-smq.c')
0 files changed, 0 insertions, 0 deletions