diff options
Diffstat (limited to 'drivers/md/dm-snap-transient.c')
-rw-r--r-- | drivers/md/dm-snap-transient.c | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/drivers/md/dm-snap-transient.c b/drivers/md/dm-snap-transient.c index a883d6e658be..cde5aa558e6d 100644 --- a/drivers/md/dm-snap-transient.c +++ b/drivers/md/dm-snap-transient.c | |||
@@ -81,11 +81,19 @@ static int transient_ctr(struct dm_exception_store *store, | |||
81 | return 0; | 81 | return 0; |
82 | } | 82 | } |
83 | 83 | ||
84 | static int transient_status(struct dm_exception_store *store, | 84 | static unsigned transient_status(struct dm_exception_store *store, |
85 | status_type_t status, char *result, | 85 | status_type_t status, char *result, |
86 | unsigned maxlen) | 86 | unsigned maxlen) |
87 | { | 87 | { |
88 | int sz = 0; | 88 | unsigned sz = 0; |
89 | |||
90 | switch (status) { | ||
91 | case STATUSTYPE_INFO: | ||
92 | break; | ||
93 | case STATUSTYPE_TABLE: | ||
94 | DMEMIT(" %s N %llu", store->cow->name, | ||
95 | (unsigned long long)store->chunk_size); | ||
96 | } | ||
89 | 97 | ||
90 | return sz; | 98 | return sz; |
91 | } | 99 | } |