mirror of https://github.com/vitalif/e2fsprogs
ChangeLog, icheck.c:
icheck.c (do_icheck): Check to make sure the inode has valid blocks before iterating over that inode's blocks.bitmap-optimize
parent
7d5633cf6e
commit
ce5ee99548
|
@ -1,3 +1,8 @@
|
|||
1999-02-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
|
||||
|
||||
* icheck.c (do_icheck): Check to make sure the inode has valid
|
||||
blocks before iterating over that inode's blocks.
|
||||
|
||||
1999-01-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
|
||||
|
||||
* Release of E2fsprogs 1.14
|
||||
|
|
|
@ -108,6 +108,8 @@ void do_icheck(int argc, char **argv)
|
|||
while (ino) {
|
||||
if (!inode.i_links_count)
|
||||
goto next;
|
||||
if (!ext2fs_inode_has_valid_blocks(&inode))
|
||||
goto next;
|
||||
/*
|
||||
* To handle filesystems touched by 0.3c extfs; can be
|
||||
* removed later.
|
||||
|
|
Loading…
Reference in New Issue