| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH] xfs: fix xfs_iomap_eof_prealloc_initial_size type |
| From: | Mark Tinguely <tinguely@xxxxxxx> |
| Date: | Sun, 24 Feb 2013 13:04:37 -0600 |
| Delivered-to: | xfs@xxxxxxxxxxx |
| References: | <20130224190436.906161932@xxxxxxx> |
| User-agent: | quilt/0.47-15.17.1 |
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@xxxxxxx>
---
fs/xfs/xfs_iomap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: b/fs/xfs/xfs_iomap.c
===================================================================
--- 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,
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] xfs: Fix possible truncation of log data in xlog_bread_noalign(), Dave Chinner |
|---|---|
| Next by Date: | xfs_growfs: Cannot allocate memory on an online resize 60GB->120GB, 30+GB free RAM., wolfwings |
| Previous by Thread: | Re:, Chang Hank |
| Next by Thread: | Re: [PATCH] xfs: fix xfs_iomap_eof_prealloc_initial_size type, Dave Chinner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |