diff options
Diffstat (limited to 'block/blk-merge.c')
-rw-r--r-- | block/blk-merge.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-merge.c b/block/blk-merge.c index b06b83b89d89..00b7d31b38a2 100644 --- a/block/blk-merge.c +++ b/block/blk-merge.c | |||
@@ -356,7 +356,7 @@ static void blk_account_io_merge(struct request *req) | |||
356 | part_round_stats(cpu, part); | 356 | part_round_stats(cpu, part); |
357 | part_dec_in_flight(part, rq_data_dir(req)); | 357 | part_dec_in_flight(part, rq_data_dir(req)); |
358 | 358 | ||
359 | kref_put(&part->ref, __delete_partition); | 359 | hd_struct_put(part); |
360 | part_stat_unlock(); | 360 | part_stat_unlock(); |
361 | } | 361 | } |
362 | } | 362 | } |