fs: block_dump: Don't display inode changes if block_dump < 2

Signed-off-by: San Mehat <san@android.com>
(cherry picked from commit c57ca7e153)
This commit is contained in:
San Mehat 2009-03-21 18:48:54 -07:00 committed by Stephen Boyd
parent f0b5f61af5
commit c519917200

View file

@ -1082,7 +1082,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);