third_party_f2fs-tools/fsck
Michael Lass 91f9db23f6 fsck.f2fs: update kernel version in superblock on forced check
In 1126e38 (fsck.f2fs: add --{no-}kernel-check to bypass kernel version diff or
not) the automatic check on a kernel version change was made optional and
disabled by default on non-Android systems. This also disabled the update of
the kernel version stored in the superblock if --kernel-check is not given.
Restore the update in case a full check is forced via -y or -f to properly
reflect the version in the superblock.

Signed-off-by: Michael Lass <bevan@bi-co.net>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2021-05-10 08:45:32 -07:00
..
common.h fsck.f2fs: support quota 2017-11-06 20:07:40 -08:00
compress.c f2fs-tools:sload.f2fs compression support 2020-12-23 11:32:31 -08:00
compress.h f2fs-tools:sload.f2fs compression support 2020-12-23 11:32:31 -08:00
defrag.c f2fs-tool: increase debug level from 0 to 1 in migrate_block 2021-04-19 09:26:30 -07:00
dict.c fsck.f2fs: support quota 2017-11-06 20:07:40 -08:00
dict.h fsck.f2fs: support quota 2017-11-06 20:07:40 -08:00
dir.c f2fs-tools: Make sload.f2fs reproduce hard links 2020-12-23 11:32:32 -08:00
dqblk_v2.h fsck.f2fs: support quota 2017-11-06 20:07:40 -08:00
dump.c dump.f2fs: check block address first before reading the block 2020-07-15 10:30:03 -07:00
f2fs.h f2fs-tools: Make sload.f2fs reproduce hard links 2020-12-23 11:32:32 -08:00
fsck.c f2fs-toos: fsck.f2fs Fix bad return value 2020-12-07 09:25:14 -08:00
fsck.h f2fs-tools: Make sload.f2fs reproduce hard links 2020-12-23 11:32:32 -08:00
main.c resize.f2fs: add force option to rewrite broken calculation 2021-04-01 20:25:32 -07:00
Makefile.am f2fs-tools:sload.f2fs compression support 2020-12-23 11:32:31 -08:00
mkquota.c fsck: prevent buffer overrun in quota code 2020-06-23 16:58:44 -07:00
mount.c fsck.f2fs: update kernel version in superblock on forced check 2021-05-10 08:45:32 -07:00
node.c f2fs-tools: set cold flag for non-dir node 2020-06-18 12:38:18 -07:00
node.h f2fs-tools: set cold flag for non-dir node 2020-06-18 12:38:18 -07:00
quotaio_tree.c fsck: prevent buffer overrun in quota code 2020-06-23 16:58:44 -07:00
quotaio_tree.h fsck.f2fs: don't allocate new blocks on unclean shutdown 2018-11-21 11:38:23 -08:00
quotaio_v2.c fsck: prevent buffer overrun in quota code 2020-06-23 16:58:44 -07:00
quotaio_v2.h fsck.f2fs: support quota 2017-11-06 20:07:40 -08:00
quotaio.c fsck: prevent buffer overrun in quota code 2020-06-23 16:58:44 -07:00
quotaio.h fsck: prevent buffer overrun in quota code 2020-06-23 16:58:44 -07:00
resize.c resize.f2fs: fix to check free space before shrink 2021-04-12 11:21:15 -07:00
segment.c f2fs-tools: Make sload.f2fs reproduce hard links 2020-12-23 11:32:32 -08:00
sload.c Add -P option to preserve file owner 2021-03-18 09:55:14 -07:00
xattr.c fsck.f2fs: do xnid sanity check only during fsck 2020-12-07 09:25:14 -08:00
xattr.h f2fs-tools: improve xattr value printing 2019-05-20 17:29:50 -07:00