unlock_mtab (void) {
	if (we_created_lockfile) {
		close(lockfile_fd);
		lockfile_fd = -1;
		unlink (_PATH_MOUNTED_LOCK);
		we_created_lockfile = 0;
	}
#ifdef HAVE_LIBMOUNT_MOUNT
	if (libmount_lock)
		mnt_unlock_file(libmount_lock);
#endif
}
unlock_mtab (void) {
	if (we_created_lockfile) {
		close(lockfile_fd);
		lockfile_fd = -1;
		unlink (_PATH_MOUNTED_LOCK);
		we_created_lockfile = 0;
	}
#ifdef HAVE_LIBMOUNT_MOUNT
	if (libmount_lock)
		mnt_unlock_file(libmount_lock);
#endif
}