diff options
Diffstat (limited to 'fs/xfs/xfs_iomap.c')
-rw-r--r-- | fs/xfs/xfs_iomap.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/xfs/xfs_iomap.c b/fs/xfs/xfs_iomap.c index 3fad07136c5d..08e38b96e03e 100644 --- a/fs/xfs/xfs_iomap.c +++ b/fs/xfs/xfs_iomap.c | |||
@@ -263,7 +263,6 @@ xfs_iomap_eof_want_preallocate( | |||
263 | { | 263 | { |
264 | xfs_fileoff_t start_fsb; | 264 | xfs_fileoff_t start_fsb; |
265 | xfs_filblks_t count_fsb; | 265 | xfs_filblks_t count_fsb; |
266 | xfs_fsblock_t firstblock; | ||
267 | int n, error, imaps; | 266 | int n, error, imaps; |
268 | int found_delalloc = 0; | 267 | int found_delalloc = 0; |
269 | 268 | ||
@@ -288,7 +287,6 @@ xfs_iomap_eof_want_preallocate( | |||
288 | count_fsb = XFS_B_TO_FSB(mp, mp->m_super->s_maxbytes); | 287 | count_fsb = XFS_B_TO_FSB(mp, mp->m_super->s_maxbytes); |
289 | while (count_fsb > 0) { | 288 | while (count_fsb > 0) { |
290 | imaps = nimaps; | 289 | imaps = nimaps; |
291 | firstblock = NULLFSBLOCK; | ||
292 | error = xfs_bmapi_read(ip, start_fsb, count_fsb, imap, &imaps, | 290 | error = xfs_bmapi_read(ip, start_fsb, count_fsb, imap, &imaps, |
293 | 0); | 291 | 0); |
294 | if (error) | 292 | if (error) |