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)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 20:03:40 +0000 (12:03 -0800)
Signed-off-by: San Mehat <san@android.com>
fs/fs-writeback.c

index fe190a8..49c8c98 100644 (file)
@@ -1047,7 +1047,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);