diff options
Diffstat (limited to 'debugfs/icheck.c')
-rw-r--r-- | debugfs/icheck.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/debugfs/icheck.c b/debugfs/icheck.c index a6b182d0..01c78bcb 100644 --- a/debugfs/icheck.c +++ b/debugfs/icheck.c @@ -127,7 +127,8 @@ void do_icheck(int argc, char **argv) if (inode.i_dtime) goto next; - retval = ext2fs_block_iterate2(current_fs, ino, 0, block_buf, + retval = ext2fs_block_iterate2(current_fs, ino, + BLOCK_FLAG_READ_ONLY, block_buf, icheck_proc, &bw); if (retval) { com_err("icheck", retval, |