From 80c7216a91d761fda00bc9323ee17b3e6306bd58 Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Mon, 15 Apr 2013 16:47:36 +0800 Subject: bitbake: 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] (Bitbake rev: 7e45149c292bc92314af9b42962fde8f603a179f) Signed-off-by: Robert Yang Signed-off-by: Richard Purdie --- bitbake/lib/bb/monitordisk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/lib') diff --git a/bitbake/lib/bb/monitordisk.py b/bitbake/lib/bb/monitordisk.py index a71dd9f4d5..c6d0767324 100644 --- a/bitbake/lib/bb/monitordisk.py +++ b/bitbake/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]: -- cgit v1.2.3-54-g00ecf