David Teigland | 2402211 | 2008-03-14 15:09:15 -0500 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2005-2008 Red Hat, Inc. All rights reserved. |
| 3 | * |
| 4 | * This copyrighted material is made available to anyone wishing to use, |
| 5 | * modify, copy, or redistribute it subject to the terms and conditions |
| 6 | * of the GNU General Public License v.2. |
| 7 | */ |
David Teigland | 2402211 | 2008-03-14 15:09:15 -0500 | [diff] [blame] | 8 | #ifndef __DLM_PLOCK_DOT_H__ |
| 9 | #define __DLM_PLOCK_DOT_H__ |
| 10 | |
David Howells | 607ca46 | 2012-10-13 10:46:48 +0100 | [diff] [blame] | 11 | #include <uapi/linux/dlm_plock.h> |
Jaswinder Singh Rajput | 37eb1f4 | 2009-01-30 20:51:30 +0530 | [diff] [blame] | 12 | |
David Teigland | 2402211 | 2008-03-14 15:09:15 -0500 | [diff] [blame] | 13 | int dlm_posix_lock(dlm_lockspace_t *lockspace, u64 number, struct file *file, |
| 14 | int cmd, struct file_lock *fl); |
| 15 | int dlm_posix_unlock(dlm_lockspace_t *lockspace, u64 number, struct file *file, |
| 16 | struct file_lock *fl); |
| 17 | int dlm_posix_get(dlm_lockspace_t *lockspace, u64 number, struct file *file, |
| 18 | struct file_lock *fl); |
David Teigland | 2402211 | 2008-03-14 15:09:15 -0500 | [diff] [blame] | 19 | #endif |