xref: /linux/include/linux/dlm_plock.h (revision a4eb44a6435d6d8f9e642407a4a06f65eb90ca04)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Copyright (C) 2005-2008 Red Hat, Inc.  All rights reserved.
4  */
5 #ifndef __DLM_PLOCK_DOT_H__
6 #define __DLM_PLOCK_DOT_H__
7 
8 #include <uapi/linux/dlm_plock.h>
9 
10 int dlm_posix_lock(dlm_lockspace_t *lockspace, u64 number, struct file *file,
11 		int cmd, struct file_lock *fl);
12 int dlm_posix_unlock(dlm_lockspace_t *lockspace, u64 number, struct file *file,
13 		struct file_lock *fl);
14 int dlm_posix_get(dlm_lockspace_t *lockspace, u64 number, struct file *file,
15 		struct file_lock *fl);
16 #endif
17