Comments
Patch
@@ -132,9 +132,12 @@ void do_icheck(int argc, char **argv)
if (inode.i_dtime)
goto next;
- retval = ext2fs_block_iterate3(current_fs, ino,
- BLOCK_FLAG_READ_ONLY, block_buf,
- icheck_proc, &bw);
+ /* we don't need to check i_blocks with inline_data */
+ if (!ext2fs_has_inline_data(current_fs, ino))
+ retval = ext2fs_block_iterate3(current_fs, ino,
+ BLOCK_FLAG_READ_ONLY,
+ block_buf,
+ icheck_proc, &bw);
if (retval) {
com_err("icheck", retval,
"while calling ext2fs_block_iterate");