summaryrefslogtreecommitdiffstats
path: root/bitbake
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:31 +0100
commit612c25c59718d3b7a259ae72430544c2f6e369fc (patch)
tree4af7528f169f8442108cb1dcc31c260d550dc909 /bitbake
parentf037008904985b56e44c353f25ef6d4a367ea9be (diff)
downloadpoky-612c25c59718d3b7a259ae72430544c2f6e369fc.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')
-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]: