From: San Mehat Date: Sun, 22 Mar 2009 01:48:54 +0000 (-0700) Subject: fs: block_dump: Don't display inode changes if block_dump < 2 X-Git-Tag: firefly_0821_release~4090^2~845 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f53cf748c956e4372d5648c4fa3ff21351db0ed0;p=firefly-linux-kernel-4.4.55.git fs: block_dump: Don't display inode changes if block_dump < 2 Signed-off-by: San Mehat --- diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c index 3be57189efd5..b6b092696a5d 100644 --- a/fs/fs-writeback.c +++ b/fs/fs-writeback.c @@ -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);