aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_rtalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_rtalloc.c')
-rw-r--r--fs/xfs/xfs_rtalloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_rtalloc.c b/fs/xfs/xfs_rtalloc.c
index 084caa81bf1c..7a445e68c35b 100644
--- a/fs/xfs/xfs_rtalloc.c
+++ b/fs/xfs/xfs_rtalloc.c
@@ -736,8 +736,8 @@ xfs_rtallocate_range(
736{ 736{
737 xfs_rtblock_t end; /* end of the allocated extent */ 737 xfs_rtblock_t end; /* end of the allocated extent */
738 int error; /* error value */ 738 int error; /* error value */
739 xfs_rtblock_t postblock; /* first block allocated > end */ 739 xfs_rtblock_t postblock = 0; /* first block allocated > end */
740 xfs_rtblock_t preblock; /* first block allocated < start */ 740 xfs_rtblock_t preblock = 0; /* first block allocated < start */
741 741
742 end = start + len - 1; 742 end = start + len - 1;
743 /* 743 /*