summaryrefslogtreecommitdiffstats
path: root/lib/bb/monitordisk.py
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2013-04-15 16:47:36 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-15 15:35:17 +0100
commit6e52dd45190d5fe6005403c7c5c2666c00125831 (patch)
tree946f5fb49f42476c3ba57c9800709e98b7308cef /lib/bb/monitordisk.py
parentc47088a86fd8ad06c1810d04d9537c4cd01e8bef (diff)
downloadbitbake-contrib-6e52dd45190d5fe6005403c7c5c2666c00125831.tar.gz
monitordisk.py: disable inode checking for btrfs
The btrfs doesn't have static inode, so disable the inode check for it, the previouse patch has set it: minInode = None But this is incorrect, the minInode is just a temporary variable, it should be: self.devDict[k][2] = None [YOCTO #3609] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/monitordisk.py')
-rw-r--r--lib/bb/monitordisk.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/monitordisk.py b/lib/bb/monitordisk.py
index a71dd9f4d..c6d076732 100644
--- a/lib/bb/monitordisk.py
+++ b/lib/bb/monitordisk.py
@@ -244,7 +244,7 @@ class diskMonitor:
# checking for such a fs.
if st.f_files == 0:
logger.warn("Inode check for %s is unavaliable, will remove it from disk monitor" % path)
- minInode = None
+ self.devDict[k][2] = None
continue
# Always show warning, the self.checked would always be False if the action is WARN
if self.preFreeI[k] == 0 or self.preFreeI[k] - freeInode > self.inodeInterval and not self.checked[k]: