summaryrefslogtreecommitdiff
path: root/fs/btrfs/fiemap.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/fiemap.c')
-rw-r--r--fs/btrfs/fiemap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/fiemap.c b/fs/btrfs/fiemap.c
index 8f95f3e44e99..df7f09f3b02e 100644
--- a/fs/btrfs/fiemap.c
+++ b/fs/btrfs/fiemap.c
@@ -637,7 +637,7 @@ static int extent_fiemap(struct btrfs_inode *inode,
struct btrfs_path *path;
struct fiemap_cache cache = { 0 };
struct btrfs_backref_share_check_ctx *backref_ctx;
- u64 last_extent_end;
+ u64 last_extent_end = 0;
u64 prev_extent_end;
u64 range_start;
u64 range_end;