fs: block_dump: Don't display inode changes if block_dump < 2
authorSan Mehat <san@android.com>
Sun, 22 Mar 2009 01:48:54 +0000 (18:48 -0700)
committerColin Cross <ccross@android.com>
Tue, 14 Jun 2011 16:09:12 +0000 (09:09 -0700)
Signed-off-by: San Mehat <san@android.com>
fs/fs-writeback.c

index 0f015a0468de53e7c4b27a9a5efdfeb9fa4cd67b..3c72c99177755f5bfa208a4e93d019611a0b32eb 100644 (file)
@@ -1038,7 +1038,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);