diff options
Diffstat (limited to 'fs/xfs/xfs_iomap.c')
-rw-r--r-- | fs/xfs/xfs_iomap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/xfs_iomap.c b/fs/xfs/xfs_iomap.c index 5ecf3e3e86aa..d72c83d22ee0 100644 --- a/fs/xfs/xfs_iomap.c +++ b/fs/xfs/xfs_iomap.c | |||
@@ -608,6 +608,7 @@ xfs_iomap_eof_want_preallocate( | |||
608 | count_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)XFS_MAXIOFFSET(mp)); | 608 | count_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)XFS_MAXIOFFSET(mp)); |
609 | while (count_fsb > 0) { | 609 | while (count_fsb > 0) { |
610 | imaps = nimaps; | 610 | imaps = nimaps; |
611 | firstblock = NULLFSBLOCK; | ||
611 | error = XFS_BMAPI(mp, NULL, io, start_fsb, count_fsb, | 612 | error = XFS_BMAPI(mp, NULL, io, start_fsb, count_fsb, |
612 | 0, &firstblock, 0, imap, &imaps, NULL); | 613 | 0, &firstblock, 0, imap, &imaps, NULL); |
613 | if (error) | 614 | if (error) |