diff --git a/fs/ext4/orphan.c b/fs/ext4/orphan.c index e5b47dda3317..5d5ac37ddca6 100644 --- a/fs/ext4/orphan.c +++ b/fs/ext4/orphan.c @@ -328,7 +328,7 @@ static void ext4_process_orphan(struct inode *inode, dquot_initialize(inode); if (inode->i_nlink) { - if (test_opt(sb, DEBUG)) + if (1) ext4_msg(sb, KERN_DEBUG, "%s: truncating inode %lu to %lld bytes", __func__, inode->i_ino, inode->i_size); @@ -349,7 +349,7 @@ static void ext4_process_orphan(struct inode *inode, inode_unlock(inode); (*nr_truncates)++; } else { - if (test_opt(sb, DEBUG)) + if (1) ext4_msg(sb, KERN_DEBUG, "%s: deleting unreferenced inode %lu", __func__, inode->i_ino);