Skip to content

Commit

Permalink
xfs: fix xfs_iomap_eof_prealloc_initial_size type
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Dave Chinner <[email protected]>
Signed-off-by: Ben Myers <[email protected]>

(cherry picked from commit e8108ce)
  • Loading branch information
Mark Tinguely authored and Ben Myers committed Mar 18, 2013
1 parent 83cdadd commit 3325bee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/xfs/xfs_iomap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 3325bee

Please sign in to comment.