| 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> |
|---|---|---|
| ||
| Previous by Date: | Re: Reducing memory requirements for high extent xfs files, David Chinner |
|---|---|
| Next by Date: | review: xfs_growfs_data_private() not logging agf length change, Tim Shimmin |
| Previous by Thread: | [REVIEW 2/2] - setting realtime and extent size hint flags via fcntl(XFS_IOC_FSSETXATTR), Vlad Apostolov |
| Next by Thread: | review: xfs_growfs_data_private() not logging agf length change, Tim Shimmin |
| Indexes: | [Date] [Thread] [Top] [All Lists] |