xfs
[Top] [All Lists]

review: fix i386 build

To: xfs-dev <xfs-dev@xxxxxxx>
Subject: review: fix i386 build
From: David Chinner <dgc@xxxxxxx>
Date: Thu, 7 Jun 2007 16:43:52 +1000
Cc: xfs-oss <xfs@xxxxxxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
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);
 


<Prev in Thread] Current Thread [Next in Thread>
  • review: fix i386 build, David Chinner <=