mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
common: Remove unused functions
Functions like _mount_opts(), _mkfs_opts() and _fsck_opts() are defined both in common/rc and common/config while used only in common/config. Remove those functions from common/rc and update _mount_opts() to match the superior version of the function. Signed-off-by: Lukas Czerner <lczerner@redhat.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
committed by
Dave Chinner
parent
7f783df2fa
commit
9631a1fc06
@@ -249,6 +249,10 @@ _mount_opts()
|
||||
# acls aren't turned on by default on gfs2
|
||||
export MOUNT_OPTIONS="-o acl $GFS2_MOUNT_OPTIONS"
|
||||
;;
|
||||
tmpfs)
|
||||
# We need to specify the size at mount, use 512 MB by default
|
||||
export MOUNT_OPTIONS="-o size=512M $TMPFS_MOUNT_OPTIONS"
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
||||
Reference in New Issue
Block a user