The RT bitmap inode format flag check should use the flag, not the
bit definition. As a result, it is incorrectly detecting inodes with
the prealloc flag set as has having an invalid bit set.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
XFS_DIFLAG_RTINHERIT);
}
}
- if (flags & XFS_DIFLAG_NEWRTBM_BIT) {
+ if (flags & XFS_DIFLAG_NEWRTBM) {
/* must be a rt bitmap inode */
if (lino != mp->m_sb.sb_rbmino) {
do_warn(_("inode %llu not rt bitmap"), lino);
- flags &= ~XFS_DIFLAG_NEWRTBM_BIT;
+ flags &= ~XFS_DIFLAG_NEWRTBM;
}
}
if (flags & (XFS_DIFLAG_RTINHERIT |