diff options
author | Zhang Yi <[email protected]> | 2021-03-31 20:15:16 +0800 |
---|---|---|
committer | Theodore Ts'o <[email protected]> | 2021-04-09 11:34:58 -0400 |
commit | a149d2a5cabbf6507a7832a1c4fd2593c55fd450 (patch) | |
tree | 76b283f080519346ca20c71fe3fc19d9dcdca8c9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d556435156b7970b8ce61b355df558a5168927cc (diff) |
ext4: fix check to prevent false positive report of incorrect used inodes
Commit <50122847007> ("ext4: fix check to prevent initializing reserved
inodes") check the block group zero and prevent initializing reserved
inodes. But in some special cases, the reserved inode may not all belong
to the group zero, it may exist into the second group if we format
filesystem below.
mkfs.ext4 -b 4096 -g 8192 -N 1024 -I 4096 /dev/sda
So, it will end up triggering a false positive report of a corrupted
file system. This patch fix it by avoid check reserved inodes if no free
inode blocks will be zeroed.
Cc: [email protected]
Fixes: 50122847007 ("ext4: fix check to prevent initializing reserved inodes")
Signed-off-by: Zhang Yi <[email protected]>
Suggested-by: Jan Kara <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions