From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx> Date: Tue, 27 Sep 2016 15:55:01 +0200 Adjust a jump label according to the current Linux coding style convention. Signed-off-by: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx> --- drivers/md/bitmap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/md/bitmap.c b/drivers/md/bitmap.c index 22fa09a..5125186 100644 --- a/drivers/md/bitmap.c +++ b/drivers/md/bitmap.c @@ -1910,7 +1910,7 @@ int bitmap_copy_from_slot(struct mddev *mddev, int slot, rv = bitmap_init_from_disk(bitmap, 0); if (rv) - goto err; + goto free_bitmap; counts = &bitmap->counts; for (j = 0; j < counts->chunks; j++) { @@ -1937,7 +1937,7 @@ int bitmap_copy_from_slot(struct mddev *mddev, int slot, bitmap_unplug(mddev->bitmap); *low = lo; *high = hi; -err: +free_bitmap: bitmap_free(bitmap); return rv; } -- 2.10.0 -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html