mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfstests: f2fs support
This patch adds to support f2fs file system. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org> Reviewed-by: Lukas Czerner <lczerner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
committed by
Dave Chinner
parent
04312bb559
commit
521cc6fd39
@@ -219,6 +219,7 @@ case "$HOSTOS" in
|
||||
export MKFS_EXT4_PROG="`set_prog_path mkfs.ext4`"
|
||||
export MKFS_UDF_PROG="`set_prog_path mkudffs`"
|
||||
export MKFS_BTRFS_PROG="`set_btrfs_mkfs_prog_path_with_opts`"
|
||||
export MKFS_F2FS_PROG="`set_prog_path mkfs.f2fs`"
|
||||
export BTRFS_UTIL_PROG="`set_prog_path btrfs`"
|
||||
export BTRFS_SHOW_SUPER_PROG="`set_prog_path btrfs-show-super`"
|
||||
export XFS_FSR_PROG="`set_prog_path xfs_fsr`"
|
||||
@@ -255,6 +256,9 @@ _mount_opts()
|
||||
# acls & xattrs aren't turned on by default on ext$FOO
|
||||
export MOUNT_OPTIONS="-o acl,user_xattr $EXT_MOUNT_OPTIONS"
|
||||
;;
|
||||
f2fs)
|
||||
export MOUNT_OPTIONS="-o acl,user_xattr $F2FS_MOUNT_OPTIONS"
|
||||
;;
|
||||
reiserfs)
|
||||
# acls & xattrs aren't turned on by default on reiserfs
|
||||
export MOUNT_OPTIONS="-o acl,user_xattr $REISERFS_MOUNT_OPTIONS"
|
||||
@@ -330,6 +334,9 @@ _fsck_opts()
|
||||
reiser*)
|
||||
export FSCK_OPTIONS="--yes"
|
||||
;;
|
||||
f2fs)
|
||||
export FSCK_OPTIONS=""
|
||||
;;
|
||||
*)
|
||||
export FSCK_OPTIONS="-n"
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user