summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
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:57:40 +0100
commit80c7216a91d761fda00bc9323ee17b3e6306bd58 (patch)
tree880791f014fafdb4d7eedab9d361736b099dec80 /bitbake/lib
parentb429128c36a1f1011e767fd8bd549aea45efbca6 (diff)
downloadpoky-80c7216a91d761fda00bc9323ee17b3e6306bd58.tar.gz
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 <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/monitordisk.py2
1 files changed, 1 insertions, 1 deletions
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:
244 # checking for such a fs. 244 # checking for such a fs.
245 if st.f_files == 0: 245 if st.f_files == 0:
246 logger.warn("Inode check for %s is unavaliable, will remove it from disk monitor" % path) 246 logger.warn("Inode check for %s is unavaliable, will remove it from disk monitor" % path)
247 minInode = None 247 self.devDict[k][2] = None
248 continue 248 continue
249 # Always show warning, the self.checked would always be False if the action is WARN 249 # Always show warning, the self.checked would always be False if the action is WARN
250 if self.preFreeI[k] == 0 or self.preFreeI[k] - freeInode > self.inodeInterval and not self.checked[k]: 250 if self.preFreeI[k] == 0 or self.preFreeI[k] - freeInode > self.inodeInterval and not self.checked[k]: