summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorSan Mehat <san@android.com>2011-12-02 14:05:33 +0800
committerAndy Green <andy.green@linaro.org>2011-12-02 14:05:33 +0800
commit8449fd5841aac1253c9a7246bf668c72032af8bf (patch)
treef2c2493fdc5f6557399a15335fbd17d6b5f64f34 /fs
parent870362292bbd81fb568487e1edc2dc0fbbd71917 (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 73c3992b2bb..3762cf57b38 100644
--- a/fs/fs-writeback.c
+++ b/fs/fs-writeback.c
@@ -1082,7 +1082,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->i_lock);