From: Mark Tinguely Date: Sun, 24 Feb 2013 19:04:37 +0000 (-0600) Subject: xfs: fix xfs_iomap_eof_prealloc_initial_size type X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=e8108cedb1c5d1dc359690d18ca997e97a0061d2;p=sagit-ice-cold%2Fkernel_xiaomi_msm8998.git xfs: fix xfs_iomap_eof_prealloc_initial_size type Fix the return type of xfs_iomap_eof_prealloc_initial_size() to xfs_fsblock_t to reflect the fact that the return value may be an unsigned 64 bits if XFS_BIG_BLKNOS is defined. Signed-off-by: Mark Tinguely Reviewed-by: Dave Chinner Signed-off-by: Ben Myers --- diff --git a/fs/xfs/xfs_iomap.c b/fs/xfs/xfs_iomap.c index 5cfc0992bd11..c8cb337efccf 100644 --- a/fs/xfs/xfs_iomap.c +++ b/fs/xfs/xfs_iomap.c @@ -325,7 +325,7 @@ xfs_iomap_eof_want_preallocate( * rather than falling short due to things like stripe unit/width alignment of * real extents. */ -STATIC int +STATIC xfs_fsblock_t xfs_iomap_eof_prealloc_initial_size( struct xfs_mount *mp, struct xfs_inode *ip,