]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
merge bugfix from irix in handling of realtime files with unwritten
authorNathan Scott <nathans@sgi.com>
Wed, 8 Aug 2001 00:11:18 +0000 (00:11 +0000)
committerNathan Scott <nathans@sgi.com>
Wed, 8 Aug 2001 00:11:18 +0000 (00:11 +0000)
extents (doesn't really affect linux yet).  fix a typo in a diagnostic.

repair/dinode.c

index 724407d37f19368477dd044f88c9d5732a882641..428f4059558d476de7284e27c98d833ddf226c96 100644 (file)
@@ -612,8 +612,9 @@ process_bmbt_reclist_int(
                         * XXX - verify that the blocks listed in the record
                         * are multiples of an extent
                         */
-                       if (s % mp->m_sb.sb_rextsize != 0 ||
-                                       c % mp->m_sb.sb_rextsize != 0)  {
+                       if (XFS_SB_VERSION_HASEXTFLGBIT(&mp->m_sb) == 0
+                          && (s % mp->m_sb.sb_rextsize != 0 ||
+                                       c % mp->m_sb.sb_rextsize != 0))  {
                                do_warn(
 "malformed rt inode extent [%llu %llu] (fs rtext size = %u)\n",
                                        s, c, mp->m_sb.sb_rextsize);
@@ -2023,7 +2024,7 @@ process_dinode_int(xfs_mount_t *mp,
         */
        if (type != XR_INO_RTDATA && INT_GET(dinoc->di_extsize, ARCH_CONVERT) != 0)  {
                do_warn(
-"bad non-zero extent size value %u for non-realtime inode %llu,",
+"bad non-zero extent size value %u for non-realtime inode %llu, ",
                        INT_GET(dinoc->di_extsize, ARCH_CONVERT), lino);
 
                if (!no_modify)  {