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:
Lukas Czerner
2014-04-22 10:46:25 +10:00
committed by Dave Chinner
parent 7f783df2fa
commit 9631a1fc06
2 changed files with 4 additions and 87 deletions
+4
View File
@@ -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