]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
Fix compilation warning on inode size checks.
authorNathan Scott <nathans@sgi.com>
Wed, 30 Mar 2005 03:44:11 +0000 (03:44 +0000)
committerNathan Scott <nathans@sgi.com>
Wed, 30 Mar 2005 03:44:11 +0000 (03:44 +0000)
Merge of master-melb:xfs-cmds:21989a by kenmcd.

repair/dir.c

index 831d09e6a01c047fc44b04792930fd38af1e7365..4ed7a3614feb9ac28e52d73c698c1a5bc42ef137 100644 (file)
@@ -2914,8 +2914,8 @@ process_node_dir(
         */
        if (INT_GET(dip->di_core.di_size, ARCH_CONVERT) <
                        (da_cursor.greatest_bno + 1) * mp->m_sb.sb_blocksize)  {
-               if ((xfs_fsize_t) (da_cursor.greatest_bno
-                               * mp->m_sb.sb_blocksize) > UINT_MAX)  {
+               if ((xfs_fsize_t) da_cursor.greatest_bno
+                               * mp->m_sb.sb_blocksize > UINT_MAX)  {
                        do_warn(
        _("out of range internal directory block numbers (inode %llu)\n"),
                                ino);