diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2015-11-23 23:12:43 +0100 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2015-11-23 23:33:37 +0100 |
commit | ddbf0075b1abb5ea0cb0ff56cc128fd18523ed36 (patch) | |
tree | 2b0572ab5f55478cc607b0559a91f9bca6b2a428 /libdm | |
parent | fe64d3a2e27cedd7973d0a01360796089596b20b (diff) | |
download | lvm2-ddbf0075b1abb5ea0cb0ff56cc128fd18523ed36.tar.gz |
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.
Diffstat (limited to 'libdm')
-rw-r--r-- | libdm/libdm-deptree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdm/libdm-deptree.c b/libdm/libdm-deptree.c index d7e2143ae..830a6a8f5 100644 --- a/libdm/libdm-deptree.c +++ b/libdm/libdm-deptree.c @@ -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); |