ext4: fix kernel BUG on large-scale rm -rf commands
[pandora-kernel.git] / fs / ext4 / extents.c
index 689f733..b48e0dc 100644 (file)
@@ -2614,6 +2614,7 @@ cont:
                }
                path[0].p_depth = depth;
                path[0].p_hdr = ext_inode_hdr(inode);
+               i = 0;
 
                if (ext4_ext_check(inode, path[0].p_hdr, depth)) {
                        err = -EIO;