diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2017-04-19 16:52:54 +0200 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2017-04-24 18:04:35 +0200 |
commit | 9119fedddb5b630eec3f3e39c4e382d9f60cca07 (patch) | |
tree | fd38bb9fa5c7117c9a025640398d86bde2705cd8 /drivers/md/dm-ioctl.c | |
parent | dm crypt: fix large block integrity support (diff) | |
download | linux-9119fedddb5b630eec3f3e39c4e382d9f60cca07.tar.xz linux-9119fedddb5b630eec3f3e39c4e382d9f60cca07.zip |
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.html
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-ioctl.c')
-rw-r--r-- | drivers/md/dm-ioctl.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/md/dm-ioctl.c b/drivers/md/dm-ioctl.c index 4da6fc6b1ffd..641d5e9cfedd 100644 --- a/drivers/md/dm-ioctl.c +++ b/drivers/md/dm-ioctl.c @@ -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; |