++bufsize;
}
- dirty_inode = test_and_set_bit(LDISKFS_INODE_JOURNAL_DATA,
+ /* only the first flag-set matters */
+ dirty_inode = !test_and_set_bit(LDISKFS_INODE_JOURNAL_DATA,
&ei->i_flags);
/* sparse checking is racy, but sparse is very rare case, leave as is */