]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/btrfs/extent_io.c
Btrfs: get rid of sparse warnings
[karo-tx-linux.git] / fs / btrfs / extent_io.c
index df6e6c27782eba45c24a884e9922e450905b551c..94362ad5dc491985cb5dea931ce4873557e6e57c 100644 (file)
@@ -2954,11 +2954,11 @@ static void __extent_readpages(struct extent_io_tree *tree,
                               struct bio **bio, int mirror_num,
                               unsigned long *bio_flags, int rw)
 {
-       u64 start;
+       u64 start = 0;
        u64 end = 0;
        u64 page_start;
        int index;
-       int first_index;
+       int first_index = 0;
 
        for (index = 0; index < nr_pages; index++) {
                page_start = page_offset(pages[index]);