]> git.baikalelectronics.ru Git - kernel.git/commit
dm log: remove struct dm_dirty_log_internal
authorMike Snitzer <snitzer@redhat.com>
Thu, 2 Apr 2009 18:55:30 +0000 (19:55 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Thu, 2 Apr 2009 18:55:30 +0000 (19:55 +0100)
commit5b2bc6d446f75465e11eca8853bef8a21e47ff1a
tree56c0f99068c7bf2a474e8094c1fa9d14a7861ae8
parent5215d1db2dfdb9b538041df4ae2f4a1ab84b4708
dm log: remove struct dm_dirty_log_internal

Remove the 'dm_dirty_log_internal' structure.  The resulting cleanup
eliminates extra memory allocations.  Therefore exposing the internal
list_head to the external 'dm_dirty_log_type' structure is a worthwhile
compromise.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-log.c
include/linux/dm-dirty-log.h