blob: e6d76e8715a6c7b4fcf619e974fea1af4c9d8139 [file] [log] [blame]
David Brazdil0f672f62019-12-10 10:32:29 +00001/* SPDX-License-Identifier: GPL-2.0-only */
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00002/*
3 * Copyright (C) 2005-2008 Red Hat, Inc. All rights reserved.
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00004 */
5#ifndef __DLM_PLOCK_DOT_H__
6#define __DLM_PLOCK_DOT_H__
7
8#include <uapi/linux/dlm_plock.h>
9
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);
16#endif