xfstests: Remove unused functions
PATCH 1/1 xfstests: 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 <[email protected]>
--- common/config | 4 +++ common/rc | 87 ----------------------------------------------------------- 2 files changed, 4 insertions(+), 87 deletions(-)
common/config +4 -0
@@ -249,6 +249,10 @@ _mount_opts() # acls aren't turned on by default on gfs2 export MOUNT_OPTIONS="-o acl $GFS2_MOUNT_OPTIONS" ;; + ttmpfs) + # We need to specify the size at mount, use 512 MB by default + export MOUNT_OPTIONS="-o size=512M $TMPFS_MOUNT_OPTIONS" + ;; *) ;; esac
common/rc +0 -87
93 lines not on this page · raw message
Signature · 6 lines
1.8.3.1 _______________________________________________ xfs mailing list [email protected] http://oss.sgi.com/mailman/listinfo/xfs