mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
libdm: accept mirror status with userspace word in the line
Just making sure the parser will not stop - although greater level of support needs to be added (Describing doc seems to be missing however).
This commit is contained in:
parent
083c221cbe
commit
4d4d5bf323
@ -1,5 +1,6 @@
|
||||
Version 1.02.147 -
|
||||
=====================================
|
||||
Parsing mirror status accepts 'userspace' keyword in status.
|
||||
Introduce dm_malloc_aligned for page alignment of buffers.
|
||||
|
||||
Version 1.02.146 - 18th December 2017
|
||||
|
@ -508,6 +508,11 @@ int dm_get_status_mirror(struct dm_pool *mem, const char *params,
|
||||
if (!(pos = _skip_fields(pos, argc)))
|
||||
goto_out;
|
||||
|
||||
if (strncmp(pos, "userspace", 9) == 0) {
|
||||
pos += 9;
|
||||
/* FIXME: support status of userspace mirror implementation */
|
||||
}
|
||||
|
||||
if (sscanf(pos, "%u %n", &argc, &used) != 1)
|
||||
goto_out;
|
||||
pos += used;
|
||||
|
Loading…
Reference in New Issue
Block a user