Add support for dropping all quota related options instead of only
overriding them with new ones to _qmount_option.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
-e 's/prjquota/quota/g'`
fi
# Ensure we have the given quota option - duplicates are fine
-e 's/prjquota/quota/g'`
fi
# Ensure we have the given quota option - duplicates are fine
- export MOUNT_OPTIONS="$MOUNT_OPTIONS -o $OPTS"
+ if [ -n "$OPTS" ]; then
+ export MOUNT_OPTIONS="$MOUNT_OPTIONS -o $OPTS"
+ fi
echo "MOUNT_OPTIONS = $MOUNT_OPTIONS" >>$seqres.full
}
echo "MOUNT_OPTIONS = $MOUNT_OPTIONS" >>$seqres.full
}