All of lore.kernel.org
 help / color / mirror / Atom feed
* review: fix i386 build
@ 2007-06-07  6:43 David Chinner
  0 siblings, 0 replies; only message in thread
From: David Chinner @ 2007-06-07  6:43 UTC (permalink / raw)
  To: xfs-dev; +Cc: xfs-oss


Don't use type-unsafe macros.

Cheers,

Dave.
-- 
Dave Chinner
Principal Engineer
SGI Australian Software Group


---
 fs/xfs/dmapi/xfs_dm.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: 2.6.x-xfs-new/fs/xfs/dmapi/xfs_dm.c
===================================================================
--- 2.6.x-xfs-new.orig/fs/xfs/dmapi/xfs_dm.c	2007-06-06 15:55:00.000000000 +1000
+++ 2.6.x-xfs-new/fs/xfs/dmapi/xfs_dm.c	2007-06-06 15:56:00.613530262 +1000
@@ -2654,7 +2654,7 @@ xfs_dm_punch_hole(
 	 * make sure we punch the block and not just zero it.
 	 */
 	if (punch_to_eof)
-		len = roundup((realsize - off), bsize);
+		len = roundup_64((realsize - off), bsize);
 
 	xfs_iunlock(xip, XFS_ILOCK_EXCL);
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-06-07  6:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-07  6:43 review: fix i386 build David Chinner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.