third_party_f2fs-tools/mkfs
Jaegeuk Kim 55c68bc9b9 mkfs.f2fs: set project quota by default for -g android for v4.14+
commit 0d3d26dd26f528edbfa972cad3439daa2972020d
category: bugfix
issue: #I6VAS0
CVE: NA

Signed-off-by: DongSenhao <dongsenhao2@huawei.com>
---------------------------------------

With this patch, "-g android" enables project quota only by default, if the
kernel is over v4.14. Otherwise, it enables usr/grp/proj all together.

1) -O quota : enables usr/grp
2) -O project_quota -O extra_attr : enabled prj
3) -O quota -O project_quota -O extra_attr : enables usr/grp/proj
4) -g android : enables proj (4.14+), usr/grp/proj (old kernel)
5) -g android -O project_quota -O extra_attr : enables usr/grp/proj

Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: dongsenhao <dongsenhao2@huawei.com>
2023-04-13 14:13:47 +08:00
..
BUILD.gn f2fs_tools部件化 2022-08-23 10:40:59 +08:00
f2fs_format_main.c mkfs.f2fs: set project quota by default for -g android for v4.14+ 2023-04-13 14:13:47 +08:00
f2fs_format_utils.c mkfs.f2fs: check zeros in first 16MB for Android 2019-08-27 14:51:05 -07:00
f2fs_format_utils.h Build successful,add one config.h and four BUILD.gn, modify seven files to relsove macro redefined,.Delete two Android.bp files.Add OAT related files,OAT.xml,README.OpenSource and README.md. 2021-12-15 10:45:47 +08:00
f2fs_format.c mkfs.f2fs: set required quota types only 2023-04-13 14:13:46 +08:00
Makefile.am lib: pass all needed include paths to libf2fs 2020-06-18 12:34:29 -07:00