summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorSan Mehat <san@android.com>2009-03-21 18:48:54 -0700
committerColin Cross <ccross@android.com>2010-09-29 17:49:17 -0700
commit13b56cd2bdb61603b4dc38b914912ba74d75d301 (patch)
treea94f69795ce226f9d66a83f1dcb5545a471c6116 /fs
parent5572d76a4028b10c9e0f13f304ddc0a4ed0f6383 (diff)
fs: block_dump: Don't display inode changes if block_dump < 2
Signed-off-by: San Mehat <san@android.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/fs-writeback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c
index 5581122bd2c0..72f4d0babc64 100644
--- a/fs/fs-writeback.c
+++ b/fs/fs-writeback.c
@@ -951,7 +951,7 @@ void __mark_inode_dirty(struct inode *inode, int flags)
if ((inode->i_state & flags) == flags)
return;
- if (unlikely(block_dump))
+ if (unlikely(block_dump > 1))
block_dump___mark_inode_dirty(inode);
spin_lock(&inode_lock);