diff options
Diffstat (limited to 'util-linux/fsck_minix.c')
-rw-r--r-- | util-linux/fsck_minix.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/util-linux/fsck_minix.c b/util-linux/fsck_minix.c index 18ea05fec..feece9920 100644 --- a/util-linux/fsck_minix.c +++ b/util-linux/fsck_minix.c | |||
@@ -898,8 +898,12 @@ static void check_zones(unsigned i) | |||
898 | if (inode_count[i] > 1) /* have we counted this file already? */ | 898 | if (inode_count[i] > 1) /* have we counted this file already? */ |
899 | return; | 899 | return; |
900 | inode = Inode1 + i; | 900 | inode = Inode1 + i; |
901 | if (!S_ISDIR(inode->i_mode) && !S_ISREG(inode->i_mode) && | 901 | if (!S_ISDIR(inode->i_mode) |
902 | !S_ISLNK(inode->i_mode)) return; | 902 | && !S_ISREG(inode->i_mode) |
903 | && !S_ISLNK(inode->i_mode) | ||
904 | ) { | ||
905 | return; | ||
906 | } | ||
903 | for (i = 0; i < 7; i++) | 907 | for (i = 0; i < 7; i++) |
904 | add_zone(i + inode->i_zone, &changed); | 908 | add_zone(i + inode->i_zone, &changed); |
905 | add_zone_ind(7 + inode->i_zone, &changed); | 909 | add_zone_ind(7 + inode->i_zone, &changed); |