Whamcloud - gitweb
b=14929 a tiny fix for mkfs build
authorAndrew Perepechko <Andrew.Perepechko@Sun.COM>
Mon, 21 Jun 2010 10:23:41 +0000 (14:23 +0400)
committerJohann Lombardi <johann@sun.com>
Mon, 21 Jun 2010 10:27:49 +0000 (12:27 +0200)
i=Johann Lombardi
i=ZhiYong Tian

lustre/utils/mkfs_lustre.c

index bb37304..6f849a8 100644 (file)
@@ -590,7 +590,7 @@ int make_lustre_backfs(struct mkfs_opts *mop)
                 }
                 block_count = mop->mo_device_sz / (L_BLOCK_SIZE >> 10);
                /* Create one less block. Bug 22906 */
-                block_count = min(block_count, 4294967295);
+                block_count = min(block_count, 4294967295U);
         }
 
         if ((mop->mo_ldd.ldd_mount_type == LDD_MT_EXT3) ||