Skip to content

Commit

Permalink
dm: remove dummy dm_table definition
Browse files Browse the repository at this point in the history
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.html

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
  • Loading branch information
Mikulas Patocka authored and Mike Snitzer committed Apr 24, 2017
1 parent 583fe74 commit 9119fed
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions drivers/md/dm-ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,6 @@ struct hash_cell {
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 {
size_t param_size;
struct dm_target_versions *vers, *old_vers;
Expand Down

0 comments on commit 9119fed

Please sign in to comment.