Commit 9119fedd authored by Mikulas Patocka's avatar Mikulas Patocka Committed by Mike Snitzer

dm: remove dummy dm_table definition

This dummy structure definition was required for RCU macros, but it
isn't required anymore, so delete it.

The dummy definition confuses the crash tool, see:
https://www.redhat.com/archives/dm-devel/2017-April/msg00197.htmlSigned-off-by: default avatarMikulas Patocka <mpatocka@redhat.com>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent 583fe747
...@@ -37,14 +37,6 @@ struct hash_cell { ...@@ -37,14 +37,6 @@ struct hash_cell {
struct dm_table *new_map; struct dm_table *new_map;
}; };
/*
* A dummy definition to make RCU happy.
* struct dm_table should never be dereferenced in this file.
*/
struct dm_table {
int undefined__;
};
struct vers_iter { struct vers_iter {
size_t param_size; size_t param_size;
struct dm_target_versions *vers, *old_vers; struct dm_target_versions *vers, *old_vers;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment