ANDROID: 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)
committerAmit Pundir <amit.pundir@linaro.org>
Mon, 18 Dec 2017 15:41:22 +0000 (21:11 +0530)
Signed-off-by: San Mehat <san@android.com>
fs/fs-writeback.c

index 245c430a2e418b1ccaea562b8ce0f7425bc66c3e..3a76082c2c6b7837da8a86a0e7c9b5ea51671c41 100644 (file)
@@ -2111,7 +2111,7 @@ void __mark_inode_dirty(struct inode *inode, int flags)
            (dirtytime && (inode->i_state & I_DIRTY_INODE)))
                return;
 
-       if (unlikely(block_dump))
+       if (unlikely(block_dump > 1))
                block_dump___mark_inode_dirty(inode);
 
        spin_lock(&inode->i_lock);