blob: e6d76e8715a6c7b4fcf619e974fea1af4c9d8139 [file] [log] [blame]
Raghavendra Rao Ananta5bd75402019-06-24 17:30:20 -07001/* SPDX-License-Identifier: GPL-2.0-only */
David Teigland24022112008-03-14 15:09:15 -05002/*
3 * Copyright (C) 2005-2008 Red Hat, Inc. All rights reserved.
David Teigland24022112008-03-14 15:09:15 -05004 */
David Teigland24022112008-03-14 15:09:15 -05005#ifndef __DLM_PLOCK_DOT_H__
6#define __DLM_PLOCK_DOT_H__
7
David Howells607ca462012-10-13 10:46:48 +01008#include <uapi/linux/dlm_plock.h>
Jaswinder Singh Rajput37eb1f42009-01-30 20:51:30 +05309
David Teigland24022112008-03-14 15:09:15 -050010int 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);
David Teigland24022112008-03-14 15:09:15 -050016#endif