diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2014-10-27 10:50:52 +0100 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2014-10-30 23:58:49 +0100 |
commit | 97cccfbf1c000e597cf751e26284614a15f77cb5 (patch) | |
tree | 0aba90a238c16903d96a120e7b12ad7a02f4fdb5 /lib/striped | |
parent | 87fc3b710c3b8fc656dcf48ec453e1da280ec696 (diff) | |
download | lvm2-97cccfbf1c000e597cf751e26284614a15f77cb5.tar.gz |
segtype: drop cmdcontex pointer
Users of context provide their cmd pointer,
so don't keep it inside segtype.
Diffstat (limited to 'lib/striped')
-rw-r--r-- | lib/striped/striped.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/striped/striped.c b/lib/striped/striped.c index dfd45181f..180307725 100644 --- a/lib/striped/striped.c +++ b/lib/striped/striped.c @@ -228,10 +228,8 @@ struct segment_type *init_striped_segtype(struct cmd_context *cmd) if (!segtype) return_NULL; - segtype->cmd = cmd; segtype->ops = &_striped_ops; segtype->name = "striped"; - segtype->private = NULL; segtype->flags = SEG_CAN_SPLIT | SEG_AREAS_STRIPED | SEG_FORMAT1_SUPPORT; |