int f2fs_get_block(struct dnode_of_data *dn, pgoff_t index)
 {
-       struct extent_info ei;
+       struct extent_info ei  = {0,0,0};
        struct inode *inode = dn->inode;
 
        if (f2fs_lookup_extent_cache(inode, index, &ei)) {
        struct address_space *mapping = inode->i_mapping;
        struct dnode_of_data dn;
        struct page *page;
-       struct extent_info ei;
+       struct extent_info ei = {0,0,0};
        int err;
        struct f2fs_io_info fio = {
                .sbi = F2FS_I_SB(inode),
        int err = 0, ofs = 1;
        unsigned int ofs_in_node, last_ofs_in_node;
        blkcnt_t prealloc;
-       struct extent_info ei;
+       struct extent_info ei = {0,0,0};
        block_t blkaddr;
 
        if (!maxblocks)
        struct dnode_of_data dn;
        struct page *ipage;
        bool locked = false;
-       struct extent_info ei;
+       struct extent_info ei = {0,0,0};
        int err = 0;
 
        /*
 
 {
        struct inode *inode = file_inode(filp);
        struct f2fs_map_blocks map = { .m_next_pgofs = NULL };
-       struct extent_info ei;
+       struct extent_info ei = {0,0,0};
        pgoff_t pg_start, pg_end;
        unsigned int blk_per_seg = sbi->blocks_per_seg;
        unsigned int total = 0, sec_num;