From 87709d931491a78cd79d02b31a3a802b490844be Mon Sep 17 00:00:00 2001 From: "Ruben S. Montero" Date: Tue, 14 Jun 2016 11:22:24 +0200 Subject: [PATCH] bug #4278: Sync volatile disk computations in core & fsck --- src/onedb/fsck.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/onedb/fsck.rb b/src/onedb/fsck.rb index 0d3ac2d2f1..a2f8e8e122 100644 --- a/src/onedb/fsck.rb +++ b/src/onedb/fsck.rb @@ -2137,7 +2137,7 @@ EOT target = e.at_xpath("LN_TARGET").text if !e.at_xpath("LN_TARGET").nil? end - if !target.nil? && target != "NONE" # self or system + if !target.nil? && target == "SYSTEM" sys_used += size if !e.at_xpath("DISK_SNAPSHOT_TOTAL_SIZE").nil?