summaryrefslogtreecommitdiffstats
path: root/lib/thin/thin.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/thin/thin.c')
-rw-r--r--lib/thin/thin.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/thin/thin.c b/lib/thin/thin.c
index 7565e1b2..eeaa38fb 100644
--- a/lib/thin/thin.c
+++ b/lib/thin/thin.c
@@ -201,7 +201,8 @@ int init_multiple_segtypes(struct cmd_context *cmd, struct segtype_library *segl
uint32_t flags;
} reg_segtypes[] = {
{ &_thin_pool_ops, "thin_pool", SEG_THIN_POOL },
- { &_thin_ops, "thin", SEG_THIN_VOLUME }
+ /* FIXME Maybe use SEG_THIN_VOLUME instead of SEG_VIRTUAL */
+ { &_thin_ops, "thin", SEG_THIN_VOLUME | SEG_VIRTUAL }
};
struct segment_type *segtype;