Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/PitchBlackRecoveryProject/android_external_f2fs-tools


https://github.com/PitchBlackRecoveryProject/android_external_f2fs-tools

sload.f2fs: support sload files into directory includes inline dentry

It seems the new created directory always includes inline dentries,
let sload.f2fs supporting it...

0f3045d3e8bb3d14f3e96192a3c22cf04a78ca15 authored almost 8 years ago by Kinglong Mee <[email protected]>
sload.f2fs: let dir_buckets/dir_block_index supports dir_level

The dir_level in the filesystem maybe larger than zero,
supports it.

Signed-off-by: Kinglong Me...

9a4df3c466c380679ddb5b765d7ef377b7da6b48 authored almost 8 years ago by Kinglong Mee <[email protected]>
fsck.f2fs: check encrypted filename depends FADVISE_ENC_NAME_BIT

An encrypted directory under an unencrypted directory, the filename isn't encrypted.

Signed-off...

7b03ccbb9b2d4e1025f178b7e833bde9817d0402 authored almost 8 years ago by Kinglong Mee <[email protected]>
fsck.f2fs: fix bad notice of missing device

The following messages is better than before.

Before,
# fsck.f2fs -d 1
Error: Need argument...

5e6526940e9a570f60b2247317e1a5dbc7847902 authored almost 8 years ago by Kinglong Mee <[email protected]>
sload.f2fs: fix missing SSA updates

If sload many larger files to disk, the SSA that doesn't cached will be missed.

Mar 17 12:04:39...

8e710d1d714ac9a0f87c09487a4e836072c25ccd authored almost 8 years ago by Kinglong Mee <[email protected]>
fsck.f2fs: a separate option for showing directory tree

Showing directory tree reuses dbg_lv that if setting "-t",
fsck.f2fs does not show any others.
U...

6fb673abc03592eb9598fe7e168cd077d252e502 authored almost 8 years ago by Kinglong Mee <[email protected]>
f2fscrypt: add a tool for encryption management in the f2fs filesystem

It's migrated from e4crypt.
Adds an example to the f2fscrypt manpages.

v3, add /tools/f2fscrypt...

7f00dd441c48edf9b7d88d34e8b94d29d72fd350 authored almost 8 years ago by Kinglong Mee <[email protected]>
fsck.f2fs: sanity check of crc_offset from raw checkpoint

The crc_offset towards or beyond the end of block is wrong,
sanity check it.

Signed-off-by: Kin...

802b6499bdc5547003438cfa0d70902639f89338 authored almost 8 years ago by Kinglong Mee <[email protected]>
resize.f2fs: fix a resize fail for sector size mismatch

This patch fix a resize faill for sector size mismatch.
The initial fs comes from an image file,...

78ad88d1d2547e6923f6b83651d73e4ee9957c95 authored almost 8 years ago by Yunlei He <[email protected]>
mkfs.f2fs: check overwrite before make filesystem

Mkfs.f2fs doesn't check the overwrite of exist filesystem.
Avoid formatting an exist filesystem ...

52a3a273d18f6660f3d6551fe605c7f2958ca6f2 authored almost 8 years ago by Kinglong Mee <[email protected]>
mkfs.f2fs: clearfiy the help message and manpages

Add some missing options in manpages, also order those options.

v3, add the missing update of S...

2f52fcf698fe3799b83faf1c56afd475c96519b7 authored almost 8 years ago by Kinglong Mee <[email protected]>
f2fs-tools: catch up up-to-date checkpoint flag

It needs to use up-to-date ckpt flag.

Signed-off-by: Jaegeuk Kim <[email protected]>

a0bd5b982220cd1c01fb741e128f9909c5445080 authored almost 8 years ago by Jaegeuk Kim <[email protected]>
fsck.f2fs: fix wrong usage out

This fixes wrong messages for error out.

Signed-off-by: Jaegeuk Kim <[email protected]>

f081d54ba8e0cbcfb0ab8e0dd90934b9113f2d7e authored almost 8 years ago by Jaegeuk Kim <[email protected]>
mkfs.f2fs: support nat_bits feature

This patch adds nat_bits in the last one ore two 4KB-sized blocks of first
checkpoint segment. S...

191573e71bd493d19b8ed505f38af21efcf103fb authored almost 8 years ago by Jaegeuk Kim <[email protected]>
mkfs.f2fs: make sure clean all reset dnodes

memset(raw_node, 0, F2FS_BLKSIZE) sets the next_blkaddr to zero,
so that, only one reset dnode i...

9edcda5ec7dc47e3618c832f77e9defe987ef124 authored almost 8 years ago by Kinglong Mee <[email protected]>
mkfs.f2fs: check the c.overprovision with zero before using it

The using of c.overprovision when it equal zero as,

c.reserved_segments =
...

a2b7afa16d8e30abaf4125a9fc0e33b67cd0e7b8 authored almost 8 years ago by Kinglong Mee <[email protected]>
resize.f2fs: correct checkpoint_ver of new checkpoint

resize.f2fs rebuilds a new checkpoint at the new position. Its
checkpoint_ver should be increase...

2b4b86066baa7c21813c7daa43baf0c8961016a2 authored almost 8 years ago by Sheng Yong <[email protected]>
f2fs-tools: release 1.8.0

This release includes:
- enhance fsck.f2fs mostly.
- retrieve lost files from dump.f2fs.
- su...

1e7aedf99b85d16f94d1d8ad2fcf846403bb2174 authored almost 8 years ago by Jaegeuk Kim <[email protected]>
mkfs.f2fs: fix bad assignment of total_sectors for f2fs_configuration

wanted_total_sectors is introduced instead total_sectors,
so that, the initialize is a fault, dr...

ad1bb005b90fc59b03ac491df866ccc8039fc180 authored almost 8 years ago by Kinglong Mee <[email protected]>
fsck.f2fs: remove wrong dentry due to hash conversion

This patch removes stale dentries remained by hash conversion issue which
happened long time ago...

b4436b086e929c7f9d3caa029e40a961fc59e239 authored almost 8 years ago by Jaegeuk Kim <[email protected]>
Remove "-host" suffix from libext2* references. am: 52a2cdcb1a am: cd957bfe94 am: efe9697e68

am: 3f26d468d9

Change-Id: I6e6d89e2dac616bdb29921838de7f6cd96c04306

5f31e7ad2f783072891c9f2a515821d00dd38cda authored almost 8 years ago by Alex Deymo <[email protected]>
Remove "-host" suffix from libext2* references. am: 52a2cdcb1a am: cd957bfe94

am: efe9697e68

Change-Id: Ib6113b1fc48b908c07dd8462af44abc38faef304

3f26d468d922059f97cfed62c830a04a096d6a0d authored almost 8 years ago by Alex Deymo <[email protected]>
Remove "-host" suffix from libext2* references. am: 52a2cdcb1a

am: cd957bfe94

Change-Id: Ib9c1352c15acfd2ef4bc9c97ad3ebfb08af5d049

efe9697e6848035da4b0ce843686144b3b7268ff authored almost 8 years ago by Alex Deymo <[email protected]>
Remove "-host" suffix from libext2* references.

am: 52a2cdcb1a

Change-Id: I6cc3c8b1d502d75d122545e0803e9a6e052d67ea

cd957bfe946e85d105a5490e4d0dead962ab5661 authored almost 8 years ago by Alex Deymo <[email protected]>
fsck.f2fs: always fix seg entry type if it is not DATA

If the segment type and sum footer type are node, but its
sit type is corrupted as cold data, th...

5d9032fd1b947da5f5f6b7e7731886c61d55dff3 authored almost 8 years ago by Liu Xue <[email protected]>
mkfs.f2fs: fix a segfault when setting more than 7 devices

[root@localhost f2fs-tools]# mkfs.f2fs -c /dev/sdb1 -c /dev/sdb1 -c /dev/sdb1 -c /dev/sdb1 -c /d...

ada65254f66e581e3f8d25a9552ca471dc40a33a authored almost 8 years ago by Kinglong Mee <[email protected]>
fsck.f2fs: show parse errors neatly

This patch is just to clean up.

Cc: Sheng Yong <[email protected]>
Signed-off-by: Jaegeuk K...

88753dbcf385c8f3c0a4a1c43159bfb2e5144b18 authored almost 8 years ago by Jaegeuk Kim <[email protected]>
fsck.f2fs: support -p without argument

This patch allows fsck run -p without argument. So we could use -p as
-p, -p 0, -p 1. '-p' and '...

ed031d6b24edf78908a9ccd42f45cc33ec935028 authored almost 8 years ago by Jaegeuk Kim <[email protected]>
f2fs-tools: correct endianness

It is reported that fsck.f2fs behaves abnormally when running on MIPS32
rel 2 big endian cpu, si...

9deb6fd9f2104eac0748f42c1135e6dff175e9b5 authored almost 8 years ago by Sheng Yong <[email protected]>
Remove "-host" suffix from libext2* references.

Bug: 34220783
Test: make checkbuild

Change-Id: I16b5969da75cc58297c35c34a698a5a5aa80f683

52a2cdcb1a313428d9f1b7c72daa2ffcd9f7f805 authored almost 8 years ago by Alex Deymo <[email protected]>
Add a configure option for SELinux support

./configure --without-selinux :: unconditionally disable SELinux support

./configure --with-sel...

0d6ce1f5667f41946540c4b9c0de473bf796365d authored almost 8 years ago by Sergey Kvachonok <[email protected]>
Remote "_host" and "_static" suffix from libsparse. am: b54dc047e6 am: 4690bb2996 am: 365f4cdb6b

am: 46a72c5e17

Change-Id: Ib27fe08a05d75840b30d13b0057886c334720f56

7d5285d57f1034ff935665d4527d2bda2fb6a36d authored almost 8 years ago by Alex Deymo <[email protected]>
Remote "_host" and "_static" suffix from libsparse. am: b54dc047e6 am: 4690bb2996

am: 365f4cdb6b

Change-Id: Idb4f4a642f70b44b5ace926ed27a16497407fa3c

46a72c5e17b2edaf9c2c45ec205bea5c64ad4f81 authored almost 8 years ago by Alex Deymo <[email protected]>
Remote "_host" and "_static" suffix from libsparse. am: b54dc047e6

am: 4690bb2996

Change-Id: I84d765449d0b4c79a0ee5e3019c84d4a3294825e

365f4cdb6b296d067ce531ee8b35dbc1fac21a45 authored almost 8 years ago by Alex Deymo <[email protected]>
Remote "_host" and "_static" suffix from libsparse.

am: b54dc047e6

Change-Id: Iaf9375511455071ab36107ebd5a9807785311c56

4690bb299600aab77e93486d927aa024a9d70129 authored almost 8 years ago by Alex Deymo <[email protected]>
Remote "_host" and "_static" suffix from libsparse.

Bug: 34220783
Change-Id: Id53ad62fb9d0e9c43e11126c8ce10fde2694c267

b54dc047e6712368a3eb1213e0b902e353cdc1ae authored almost 8 years ago by Alex Deymo <[email protected]>
fsck.f2fs: fix wrong i_name check for directory

We should not check the consistency between i_name and its dentry for directory.
The i_name is u...

33dacab9a8330f5417cbeec39518df35b754ceba authored about 8 years ago by Jaegeuk Kim <[email protected]>
resize.f2fs: remove unused parameters

This patch remove unused parameters in these three functions:
get_new_sb, migrate_main and rebui...

d466dea52f3c2db596726d218b31573df8e7b310 authored about 8 years ago by Yunlei He <[email protected]>
resize.f2fs: fix the number of moved ssa blocks in migrate_ssa

If the offset passed in migrate_ssa is not zero, it means that there're
offset segments of old m...

e8768a998d1be863f72f177416543b3877633e3a authored about 8 years ago by Junling Zheng <[email protected]>
mkfs.f2fs: detect small partition by overprovision ratio and # of segments

We should avoid zero overprovision ratio or # of segments caused by too small
device.

Reported-...

0a48220641c27c534e987d43be66781729727797 authored about 8 years ago by Jaegeuk Kim <[email protected]>
resize.f2fs: correct the max segno in migrate_main

Signed-off-by: Junling Zheng <[email protected]>
Signed-off-by: Jaegeuk Kim <jaegeuk@kerne...

1d81a373bd9084c71e968736e4b3fc48f9527101 authored about 8 years ago by Junling Zheng <[email protected]>
fsck.f2fs: remove duplicated header files

Signed-off-by: Sheng Yong <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>

361b0185edd3cf2b3edc65c6ca4169e3c7bade27 authored about 8 years ago by Sheng Yong <[email protected]>
mkfs.f2fs: give random checkpoint version

This is to avoid wrong recovery during xfstests.

Signed-off-by: Jaegeuk Kim <[email protected]>

8399a29df92d6867d226df362edbf2e0efa527c1 authored about 8 years ago by Jaegeuk Kim <[email protected]>
fsck.f2fs: flush curseg sit entries

Flush curseg sit entries, since type of sit entries may
be changed after move_curseg_info.

Sign...

b88767e606394fb6aec408abb98024dfb81ef946 authored about 8 years ago by Liu Xue <[email protected]>
dump.f2fs: fix an error in dump nat pack num

This patch fix an error in dump nat pack num

Signed-off-by: Yunlei He <[email protected]>
Sig...

b5e7d4449d2016f89e0d3f145f1149e1ccaf4de2 authored about 8 years ago by Yunlei He <[email protected]>
fsck.f2fs add a simple check orphan inodes in -p 1 mode

This patch add a simple check orphan inodes in -p 1 mode

Signed-off-by: Yunlei He <heyunlei@hua...

4f1ded4ad219ac81f2182f20e2ac5eb90aa0c3f2 authored about 8 years ago by Yunlei He <[email protected]>
README: revisit README to fix typos and so on

This patch fixes typos and enhance description.

Suggested-by: Rob Maris <[email protected]>
Signe...

bb9122831892488894072b987a18bf0e0b179203 authored about 8 years ago by Jaegeuk Kim <[email protected]>
f2fs-tools: initialize and avoid build warning for android

This patch initialize one variable for android build.
In addition, it avoids there-in build warn...

f407393385843624fd4540615a5730bf8cb5c017 authored about 8 years ago by Jaegeuk Kim <[email protected]>
f2fs-tools: support multiple devices

This patch adds an option to specify multiple devices for an f2fs instance.

Up to 7 devices in ...

de7e07e011004a0264e27d7134ee32cbcd9695ec authored about 8 years ago by Jaegeuk Kim <[email protected]>
fsck.f2fs: refactor build_nat_area_bitmap to speed up fsck

Refactor build_nat_area_bitmap, move out lookup_nat_in_journal from the
dual loops. Instead of l...

ea1bd1ce3152f86c5b82424654689911c406835d authored about 8 years ago by Junling Zheng <[email protected]>
resize.f2fs: modify condition for resize

it better to decide resize or not by sector num.

Signed-off-by: Yunlei He <[email protected]>...

5e056bef1798844e640e3ae118c06949c70dd8e6 authored about 8 years ago by Yunlei He <[email protected]>
fsck.f2fs: add a judgment after calloc

This patch add a judgment after calloc avoid memory alloc
failure

Signed-off-by: Yunlei He <hey...

890e9b325d4b94ea49499dea1712eb29b8dca707 authored about 8 years ago by Yunlei He <[email protected]>
fsck.f2fs: no need to write a new cp if nothing to flush

This patch avoid to write a new cp if no journal info

Signed-off-by: Yunlei He <heyunlei@huawei...

9e341fa6b3cbfd13fbb6af7b0b81943f0ef87b41 authored about 8 years ago by Yunlei He <[email protected]>
resize.f2fs: fill zeros for expanded ssa area

This will avoid wrong behavior after expanding volume.

Signed-off-by: Jaegeuk Kim <jaegeuk@kern...

7401b7ce2d0ab6dcf3c9a31c63dbdcc7366f1d46 authored about 8 years ago by Jaegeuk Kim <[email protected]>
f2fs-tools: determine cp_addr by sbi->cur_cp

We don't guarantee cp_addr is fixed by cp_ver due to sload.

Signed-off-by: Jaegeuk Kim <jaegeuk...

2d7d4ffdd4f99298ff9960da53bcab0e247310fa authored about 8 years ago by Jaegeuk Kim <[email protected]>
sload.f2fs: not support to find or add files in inline_dir directory

Now, sload.f2fs doesn't support inline_dir.

Signed-off-by: Jaegeuk Kim <[email protected]>

f3341c3976c6df77416935812fcc6e0c2e62caf4 authored about 8 years ago by Jaegeuk Kim <[email protected]>
resize.f2fs: get latest free segments

The # of free segments can be changed by defragmentation.

Signed-off-by: Jaegeuk Kim <jaegeuk@k...

8f346ef3a50c0fe18de3acb217a9067876c867c7 authored about 8 years ago by Jaegeuk Kim <[email protected]>
f2fs-tools: fix end block addres when finding free block

This patch fixes wrong end_blkaddr condition for free block allocation.

Signed-off-by: Jaegeuk ...

bfa074377120f886b25b4fabf05978f80bb97e46 authored about 8 years ago by Jaegeuk Kim <[email protected]>
resize.f2fs: fix wrong end_blkaddr

The end_blkaddr should add main area segments.

Signed-off-by: Jaegeuk Kim <[email protected]>

b46703007858f51ac4eb6f0414e1a64aa0841939 authored about 8 years ago by Jaegeuk Kim <[email protected]>
defrag.f2fs: return error for no space case

This returns error instead of assertion for resize.f2fs.

Signed-off-by: Jaegeuk Kim <jaegeuk@ke...

2f2ee92b3409440bf7cbd50159840efbbd873bb4 authored about 8 years ago by Jaegeuk Kim <[email protected]>
resize.f2fs: fix wrong offset calculation

When we move whole main area into new expanded area, we do not change its
segment numbers from s...

6ab16edfcf787e239a6aaf9de6b1bc3f90d405ec authored about 8 years ago by Jaegeuk Kim <[email protected]>
resize.f2fs: add more information in debug messages

Print more information.

Signed-off-by: Jaegeuk Kim <[email protected]>

00339208531d70ad0a11626f437f35e594606103 authored about 8 years ago by Jaegeuk Kim <[email protected]>
fsck.f2fs: add SSR-based allocation when free segment not enough

Add SSR-based allocation when free segment reach the limit of
reserved segments.

Signed-off-by:...

893acfc2e430e2a511de12ae57c3c32a62a7dfe3 authored about 8 years ago by Liu Xue <[email protected]>
fsck.f2fs: rewrite entries info in segment manager

The entries info in segment manager may be not correct, since
corrupted blocks may already clean...

112bf05cb881c098e6514e6554c171a096470b0e authored about 8 years ago by Liu Xue <[email protected]>
fsck.f2fs: check BLKZONED feature on mount

The BLKZONED feature is mandatory for host-managed zoned block
devices. So check that it is set....

4b1ecd77a182c731c29cd31986508fdbe53829ed authored about 8 years ago by Damien Le Moal <[email protected]>
mkfs.f2fs: reset sequential zones on device discard

For a zoned blocks device, trim must reset all sequential zones
of the device.

Signed-off-by: D...

1e0f68d947e0c5aeee9488b9429112985a69dea8 authored about 8 years ago by Damien Le Moal <[email protected]>
libf2fs: avoid build warning

This avoids the below warnings.

libf2fs_zoned.c:39:8: warning: ignoring return value of 'fscanf...

0fe50b6f26fbe6f0aa5716b519dc091aa1e3d43e authored about 8 years ago by Jaegeuk Kim <[email protected]>
mkfs.f2fs: check zoned block devices configuration

Make sure the drive has enough randomly writeable zones from
the beginning of the partition to h...

ebbfb5979eccc76d5f5cd4b5112e795b11b06fd7 authored about 8 years ago by Damien Le Moal <[email protected]>
mkfs.f2fs: check options for zoned block devices

Trim must not be disabled with zoned mode.
For host-managed zoned block devices, the zoned mode ...

9b51f80a477d7ea409639ced21941a106f85a189 authored about 8 years ago by Damien Le Moal <[email protected]>
f2fs-tools: introduce support for zoned block devices

With the availability of the BLKREPORTZONE and BLKRESETZONE
ioctls, there is no need for using S...

9691420a990b81895c47b08be14b74d5ce8f8da4 authored about 8 years ago by Damien Le Moal <[email protected]>
f2fs-tools: use zoned block device terminology

SMR stands for "Shingled Magnetic Recording" which makes sense
only for hard disk drives (spinni...

81c62e2537caaacfd0937b93535006edda73e1b5 authored about 8 years ago by Damien Le Moal <[email protected]>
f2fs-tools: add executable files to .gitignore

Git ignore executables fsck.f2fs, f2fstat, fibmap.f2fs
and parse.f2fs.

Signed-off-by: Damien Le...

49bdd642dd143150c271b24ee10f817bff54f815 authored about 8 years ago by Damien Le Moal <[email protected]>
dump/fsck: convert encrypted file name

If fscrypt is enabled, we need to convert the encrypted file name before
printing it. So let's e...

c4c65265da347bf98af6f080abf6d7081df09ea1 authored about 8 years ago by Sheng Yong <[email protected]>
fsck.f2fs: do not check the first seg in a sec in find_next_free_block

The first segment is already checked, so there is no need to check it
again if we want to make s...

6471969f785854a51d59fe9e5ee926b863cd28f9 authored about 8 years ago by Sheng Yong <[email protected]>
sload.f2fs: allow to build without libselinux

Some systems do not have libselinux. Allow to build sload.f2fs without
support for selinux.

Sig...

b0a2386089fd6efade6b89094325ed8a9f8c6fff authored about 8 years ago by Christian Hesse <[email protected]>
mkfs.f2fs: fix the discarding size for block device

This patch fixes wrong discarding size.

Signed-off-by: Jaegeuk Kim <[email protected]>

6e7c503a8048b700b4d252e41db2d4dd144ae3c8 authored about 8 years ago by Jaegeuk Kim <[email protected]>
fsck.f2fs: support restore lost files into ./lost_found/

This patch adds to support restoring lost files into ./lost_found/.

For example,

# fsck.f2fs ...

390fe587b1b843270bbf7f1e35ac08c8a48d03a1 authored about 8 years ago by Jaegeuk Kim <[email protected]>
fsck.f2fs: check condition to avoid wrong memory allocation

This patch should fix the below bug.

Info: checkpoint state = 4 : compacted_summary sudden-pow...

68ef569e4493d46c88628d15f7c29ea5c4bb77b9 authored about 8 years ago by Jaegeuk Kim <[email protected]>
libf2fs: avoid garbage printout

This patch avoids to print garbage data.

Signed-off-by: Jaegeuk Kim <[email protected]>

65f3d40f785079f51a93c0d8aa872e493c608f73 authored about 8 years ago by Jaegeuk Kim <[email protected]>
f2fs-tools: clean up and avoid build warning

This patch is to clean up and avoid warnings when compiling aosp.

Signed-off-by: Jaegeuk Kim <j...

bdc1a0ac8bd99298f56c5506c244148db7b64876 authored about 8 years ago by Jaegeuk Kim <[email protected]>
f2fs: avoid AOSP build failure

SCSI-related operations are not permitted to AOSP biuld.

Signed-off-by: Jaegeuk Kim <jaegeuk@ke...

c499346871b95583d36d164f0689a43f88245965 authored about 8 years ago by Jaegeuk Kim <[email protected]>
fsck.f2fs: allocate buffer after condition check

This patch makes buffer allocation be done after condition check.

Signed-off-by: Jaegeuk Kim <j...

9a708f0fe4850232bcb839467d6ef7908e7e3edb authored over 8 years ago by Jaegeuk Kim <[email protected]>
fsck.f2fs: fix incorrect ERR_MSG in f2fs_do_mount

Signed-off-by: Junling Zheng <[email protected]>
Signed-off-by: Jaegeuk Kim <jaegeuk@kerne...

276571e86634c0b6d8626dfaf965c4a27de4f3b9 authored over 8 years ago by Junling Zheng <[email protected]>
fsck.f2fs: fix a typo in check_sector_size

Signed-off-by: Junling Zheng <[email protected]>
Signed-off-by: Jaegeuk Kim <jaegeuk@kerne...

3d19ea91bc8923a59155c75b2e4fee5074e1434c authored over 8 years ago by Junling Zheng <[email protected]>
fsck.f2fs: free cp_page_1 in validate_checkpoint

Free cp_page_1 in validate_checkpoint to avoid memory leak.

Signed-off-by: Junling Zheng <zheng...

d256214da8e041940bd97c37e7629775676641f6 authored over 8 years ago by Junling Zheng <[email protected]>
libf2fs: increase robustness when called on root device

On some systems '/proc/mounts' contains the entry '/dev/root'
as alias for the root device, whil...

e5b3ec89eec84e9d073788e6169b464169305026 authored over 8 years ago by Tobias Jakobi <[email protected]>
fsck: porting avoid unneeded loop in build_sit_entries to fsck

This patch porting avoid unneeded loop in build_sit_entries to fsck

Signed-off-by: Yunlei He <h...

f1ee35104dbc6279e52c9cf389acaeb12ac0c126 authored over 8 years ago by Yunlei He <[email protected]>
f2fs-tools: use shorter config variable name

This patch has no functional change.

Signed-off-by: Jaegeuk Kim <[email protected]>

3ffc5a8f3ea0a70e247d1b1b222ad27f20716bdd authored over 8 years ago by Jaegeuk Kim <[email protected]>
libf2fs: use dev_read_block and dev_write_block

This patche tries to use dev_read_block and dev_write_block as much as possible.

Signed-off-by:...

79b1858e791c0d9ce6c4c693140e833023d74d42 authored over 8 years ago by Jaegeuk Kim <[email protected]>
mkfs: get fd for f2fs_trim_device

This patch is to get a parameter for fd in f2fs_trim_device.

Signed-off-by: Jaegeuk Kim <jaegeu...

932d596a86f35b1e52110570e1b0c6e7f031cb6f authored over 8 years ago by Jaegeuk Kim <[email protected]>
fsck.f2fs: free node_blk to avoid memory leak

Signed-off-by: Yunlong Song <[email protected]>
Acked-by: Chao Yu <[email protected]>
Sig...

e874f42324d058c55948a663cb718e61db8c23a6 authored over 8 years ago by Yunlong Song <[email protected]>
mkfs.f2fs: do not need strdup for parse_feature

strdup is useless here, with no free op with its return value.

Signed-off-by: Yunlong Song <yun...

370f8c47b8a7ad67227274ba46dac811b7a3fb75 authored over 8 years ago by Yunlong Song <[email protected]>
fsck: clear useless "continue" in __chk_dentries

Signed-off-by: Yunlong Song <[email protected]>
Acked-by: Chao Yu <[email protected]>
Sig...

3b8a88a8d34f01e32fe2a837587a7e8b1de66b76 authored over 8 years ago by Yunlong Song <[email protected]>
libf2fs: show disk information

This adds to show disk information.

Signed-off-by: Jaegeuk Kim <[email protected]>

c6834e9cc49d7565a6390f353ac24447b2059773 authored over 8 years ago by Jaegeuk Kim <[email protected]>
f2fs-tools: release 1.7.0

This version adds Host-managed SMR detection code.

libf2fs_format_la
- changed its body

libf2...

d2446560e29e6c1bcf8ad746bf0d8746a9b3b2b6 authored over 8 years ago by Jaegeuk Kim <[email protected]>
fsck: recover symlink with zero i_size

If we have i_blocks, we can recover i_size.

Signed-off-by: Jaegeuk Kim <[email protected]>

37dbd83399fcae5c83d977bea5e15ba573da83f8 authored over 8 years ago by Jaegeuk Kim <[email protected]>
fsck.f2fs: clean up duplicated code

Call current_nat_addr() to calculate nat block address.

Signed-off-by: Xue Liu <liuxueliu.liu@h...

9884ad4e793c457acf6516a0b568a11ca9fdc7df authored over 8 years ago by Xue Liu <[email protected]>
f2fs-tools: update the format of output message

Signed-off-by: Sheng Yong <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>

49503225c01eaf01d50255fd75b4534ba802ce0c authored over 8 years ago by Sheng Yong <[email protected]>
fsck.f2fs: free nat entry cache

Signed-off-by: Sheng Yong <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>

2452568aab5f4ea2c75cdc7c837b69798ea63503 authored over 8 years ago by Sheng Yong <[email protected]>
fsck.f2fs: fix typo

Signed-off-by: Sheng Yong <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>

ffc7dbc01d0147e814b5670da23bcee3be1c7e99 authored over 8 years ago by Sheng Yong <[email protected]>