You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: driver_freebsd.go
    path of file: ./repos/podman/vendor/github.com/containers/storage/drivers
    
    the code of the file until where you have to start completion: package graphdriver

import (
	"golang.org/x/sys/unix"

	"github.com/containers/storage/pkg/mount"
)

const (
	// FsMagicZfs filesystem id f
    
func Mounted(fsType FsMagic, mountPath string) (bool, error) {
	var buf unix.Statfs_t
	if err := unix.Statfs(mountPath, &buf); err != nil {
		return false, err
	}
	return FsMagic(buf.Type) == fsType, nil
}