diff options
author | Jens Axboe <jaxboe@fusionio.com> | 2011-01-07 10:43:37 +0300 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2011-01-07 10:43:37 +0300 |
commit | 6c23a9681c0fe7fb7dd331b39dda11926f43746e (patch) | |
tree | bf113a475a17faa866e7e59806378107dcb3aa40 /block/blk-merge.c | |
parent | 09e099d4bafea3b15be003d548bdf94b4b6e0e17 (diff) | |
download | linux-6c23a9681c0fe7fb7dd331b39dda11926f43746e.tar.xz |
block: add internal hd part table references
We can't use krefs since it's apparently restricted to very basic
reference counting.
This reverts commit e4a683c8.
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
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) part_round_stats(cpu, part); part_dec_in_flight(part, rq_data_dir(req)); - kref_put(&part->ref, __delete_partition); + hd_struct_put(part); part_stat_unlock(); } } |