Skip to contentSkip to conversation

master - cleanup: drop tracing

PATCH Zdenek Kabelac 1 participant 1 message May 6, 2016

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=2842a645fdb66ce1f90cad1fd206912eef365059
Commit:        2842a645fdb66ce1f90cad1fd206912eef365059
Parent:        db606591c0b8aa173661377be066be7bd78c5351
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Fri May 6 13:59:13 2016 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Fri May 6 16:48:16 2016 +0200

cleanup: drop tracing

When activation is disabled, avoid tracing it in cache target.

---
 lib/cache_segtype/cache.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
lib/cache_segtype/cache.c +1 -1
index 0cbb993..9d56f32 100644
@@ -230,7 +230,7 @@ static int _target_present(struct cmd_context *cmd,
 	const char *str;
 
 	if (!activation())
-		return_0;
+		return 0;
 
 	if (!_cache_checked) {
 		_cache_checked = 1;