diff options
| -rw-r--r-- | drivers/md/dm-snap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/md/dm-snap.c b/drivers/md/dm-snap.c index 864b03f47727..8b204ae216ab 100644 --- a/drivers/md/dm-snap.c +++ b/drivers/md/dm-snap.c | |||
| @@ -1432,8 +1432,6 @@ out: | |||
| 1432 | full_bio->bi_private = pe->full_bio_private; | 1432 | full_bio->bi_private = pe->full_bio_private; |
| 1433 | atomic_inc(&full_bio->bi_remaining); | 1433 | atomic_inc(&full_bio->bi_remaining); |
| 1434 | } | 1434 | } |
| 1435 | free_pending_exception(pe); | ||
| 1436 | |||
| 1437 | increment_pending_exceptions_done_count(); | 1435 | increment_pending_exceptions_done_count(); |
| 1438 | 1436 | ||
| 1439 | up_write(&s->lock); | 1437 | up_write(&s->lock); |
| @@ -1450,6 +1448,8 @@ out: | |||
| 1450 | } | 1448 | } |
| 1451 | 1449 | ||
| 1452 | retry_origin_bios(s, origin_bios); | 1450 | retry_origin_bios(s, origin_bios); |
| 1451 | |||
| 1452 | free_pending_exception(pe); | ||
| 1453 | } | 1453 | } |
| 1454 | 1454 | ||
| 1455 | static void commit_callback(void *context, int success) | 1455 | static void commit_callback(void *context, int success) |
