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)
committerArve Hjønnevåg <arve@android.com>
Mon, 1 Jul 2013 20:40:25 +0000 (13:40 -0700)
Signed-off-by: San Mehat <san@android.com>
fs/fs-writeback.c

index 3be57189efd5b3a8005321f02e40971af9429cf6..b6b092696a5d06a25ef388573cca478674ec4509 100644 (file)
@@ -1139,7 +1139,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);