]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: fix xfs_iomap_eof_prealloc_initial_size type
authorMark Tinguely <tinguely@sgi.com>
Sun, 24 Feb 2013 19:04:37 +0000 (13:04 -0600)
committerBen Myers <bpm@sgi.com>
Mon, 18 Mar 2013 18:38:50 +0000 (13:38 -0500)
commit46b009cd22a594df3465b5053c5496f2d08323c9
treea141b731fc45732c6e0abda9d66d710f840d017c
parent7d5c33110772f8f24a5620744098a78d39ba8b5e
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 <tinguely@sgi.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
(cherry picked from commit e8108cedb1c5d1dc359690d18ca997e97a0061d2)
fs/xfs/xfs_iomap.c