| Raghavendra Rao Ananta | 5bd7540 | 2019-06-24 17:30:20 -0700 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| David Teigland | 2402211 | 2008-03-14 15:09:15 -0500 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2005-2008 Red Hat, Inc. All rights reserved. |
| David Teigland | 2402211 | 2008-03-14 15:09:15 -0500 | [diff] [blame] | 4 | */ |
| David Teigland | 2402211 | 2008-03-14 15:09:15 -0500 | [diff] [blame] | 5 | #ifndef __DLM_PLOCK_DOT_H__ |
| 6 | #define __DLM_PLOCK_DOT_H__ |
| 7 | |
| David Howells | 607ca46 | 2012-10-13 10:46:48 +0100 | [diff] [blame] | 8 | #include <uapi/linux/dlm_plock.h> |
| Jaswinder Singh Rajput | 37eb1f4 | 2009-01-30 20:51:30 +0530 | [diff] [blame] | 9 | |
| David Teigland | 2402211 | 2008-03-14 15:09:15 -0500 | [diff] [blame] | 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); |
| David Teigland | 2402211 | 2008-03-14 15:09:15 -0500 | [diff] [blame] | 16 | #endif |