projects
/
wrapfs-4.14.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3fd6d9
)
dm thin: fix missing pool reference count decrement in pool_ctr error path
author
Mike Snitzer
<snitzer@redhat.com>
Tue, 13 Oct 2015 16:04:28 +0000
(12:04 -0400)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 27 Oct 2015 00:45:59 +0000
(09:45 +0900)
commit
ba30670f4d5292c4e7f7980bbd5071f7c4794cdd
upstream.
Fixes: ac8c3f3df ("dm thin: generate event when metadata threshold passed")
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/md/dm-thin.c
patch
|
blob
|
history
diff --git
a/drivers/md/dm-thin.c
b/drivers/md/dm-thin.c
index c1120eb96d86288e8ee4f570206784a09006335b..b94e4648c199b31b6ef63455deb71fb5af6e5353 100644
(file)
--- a/
drivers/md/dm-thin.c
+++ b/
drivers/md/dm-thin.c
@@
-2373,7
+2373,7
@@
static int pool_ctr(struct dm_target *ti, unsigned argc, char **argv)
metadata_low_callback,
pool);
if (r)
- goto out_f
ree_pt
;
+ goto out_f
lags_changed
;
pt->callbacks.congested_fn = pool_is_congested;
dm_table_add_target_callbacks(ti->table, &pt->callbacks);