diff options
Diffstat (limited to 'fs/aio.c')
-rw-r--r-- | fs/aio.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1550,9 +1550,11 @@ static void aio_batch_free(struct hlist_head *batch_hash) | |||
1550 | struct hlist_node *pos, *n; | 1550 | struct hlist_node *pos, *n; |
1551 | int i; | 1551 | int i; |
1552 | 1552 | ||
1553 | /* | ||
1554 | * TODO: kill this | ||
1555 | */ | ||
1553 | for (i = 0; i < AIO_BATCH_HASH_SIZE; i++) { | 1556 | for (i = 0; i < AIO_BATCH_HASH_SIZE; i++) { |
1554 | hlist_for_each_entry_safe(abe, pos, n, &batch_hash[i], list) { | 1557 | hlist_for_each_entry_safe(abe, pos, n, &batch_hash[i], list) { |
1555 | blk_run_address_space(abe->mapping); | ||
1556 | iput(abe->mapping->host); | 1558 | iput(abe->mapping->host); |
1557 | hlist_del(&abe->list); | 1559 | hlist_del(&abe->list); |
1558 | mempool_free(abe, abe_pool); | 1560 | mempool_free(abe, abe_pool); |