mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
libdm: drop extra space from cache target line
Extra space between 'cache' target and metadata device caused string comparation being not equal and thus always causing table reload even when uneeded.
This commit is contained in:
parent
fe64d3a2e2
commit
ddbf0075b1
@ -1,5 +1,6 @@
|
||||
Version 1.02.112 -
|
||||
=====================================
|
||||
Drop extra space from cache target line to fix unneded table reloads.
|
||||
|
||||
Version 1.02.111 - 23rd November 2015
|
||||
=====================================
|
||||
|
@ -2429,7 +2429,7 @@ static int _cache_emit_segment_line(struct dm_task *dmt,
|
||||
if (!_build_dev_string(origin, sizeof(origin), seg->origin))
|
||||
return_0;
|
||||
|
||||
EMIT_PARAMS(pos, " %s %s %s", metadata, data, origin);
|
||||
EMIT_PARAMS(pos, "%s %s %s", metadata, data, origin);
|
||||
|
||||
/* Data block size */
|
||||
EMIT_PARAMS(pos, " %u", seg->data_block_size);
|
||||
|
Loading…
Reference in New Issue
Block a user