diff options
author | Mike Snitzer <snitzer@redhat.com> | 2009-04-02 22:55:30 +0400 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2009-04-02 22:55:30 +0400 |
commit | ec44ab9d6681ddf9026b593e866bec9c0e075e1d (patch) | |
tree | 56c0f99068c7bf2a474e8094c1fa9d14a7861ae8 /include/linux/dm-dirty-log.h | |
parent | 84e67c9319eb2232757a022c24f6a461291eaee5 (diff) | |
download | linux-ec44ab9d6681ddf9026b593e866bec9c0e075e1d.tar.xz |
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>
Diffstat (limited to 'include/linux/dm-dirty-log.h')
-rw-r--r-- | include/linux/dm-dirty-log.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/dm-dirty-log.h b/include/linux/dm-dirty-log.h index 600c5fb2daad..727602b686d4 100644 --- a/include/linux/dm-dirty-log.h +++ b/include/linux/dm-dirty-log.h @@ -28,6 +28,9 @@ struct dm_dirty_log_type { const char *name; struct module *module; + /* For internal device-mapper use */ + struct list_head list; + int (*ctr)(struct dm_dirty_log *log, struct dm_target *ti, unsigned argc, char **argv); void (*dtr)(struct dm_dirty_log *log); |