Merge tag 'gvt-fixes-2019-11-12' of https://github.com/intel/gvt-linux into drm-intel...
[linux-2.6-block.git] / include / linux / dlm_plock.h
CommitLineData
2522fe45 1/* SPDX-License-Identifier: GPL-2.0-only */
2402211a
DT
2/*
3 * Copyright (C) 2005-2008 Red Hat, Inc. All rights reserved.
2402211a 4 */
2402211a
DT
5#ifndef __DLM_PLOCK_DOT_H__
6#define __DLM_PLOCK_DOT_H__
7
607ca46e 8#include <uapi/linux/dlm_plock.h>
2402211a 9
2402211a
DT
10int dlm_posix_lock(dlm_lockspace_t *lockspace, u64 number, struct file *file,
11 int cmd, struct file_lock *fl);
12int dlm_posix_unlock(dlm_lockspace_t *lockspace, u64 number, struct file *file,
13 struct file_lock *fl);
14int dlm_posix_get(dlm_lockspace_t *lockspace, u64 number, struct file *file,
15 struct file_lock *fl);
2402211a 16#endif