xfs: fix xfs_iomap_eof_prealloc_initial_size type
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/1 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.
--- fs/xfs/xfs_iomap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/xfs/xfs_iomap.c +1 -1
@@ -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,
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
Quoted 5 lines · Mark Tinguely
Fix the return type of
xfs_iomap_eof_prealloc_initial_size()toxfs_fsblock_tto reflect the fact that the return value may be an unsigned 64 bits ifXFS_BIG_BLKNOSis defined.Signed-off-by Mark Tinguely <[email protected]>
Good Find.
Signature · 7 lines
Dave Chinner [email protected] _______________________________________________ xfs mailing list [email protected] http://oss.sgi.com/mailman/listinfo/xfs
Ben Myers
AppliedQuoted 5 lines · Mark Tinguely
Fix the return type of
xfs_iomap_eof_prealloc_initial_size()toxfs_fsblock_tto reflect the fact that the return value may be an unsigned 64 bits ifXFS_BIG_BLKNOSis defined.Signed-off-by Mark Tinguely <[email protected]>
Applied.
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs