1 /* SPDX-License-Identifier: GPL-2.0-only */ << 2 /* 1 /* 3 * Copyright (C) 2005-2008 Red Hat, Inc. All 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. 4 */ 7 */ 5 #ifndef __DLM_PLOCK_DOT_H__ 8 #ifndef __DLM_PLOCK_DOT_H__ 6 #define __DLM_PLOCK_DOT_H__ 9 #define __DLM_PLOCK_DOT_H__ 7 10 8 #include <uapi/linux/dlm_plock.h> 11 #include <uapi/linux/dlm_plock.h> 9 12 10 int dlm_posix_lock(dlm_lockspace_t *lockspace, 13 int dlm_posix_lock(dlm_lockspace_t *lockspace, u64 number, struct file *file, 11 int cmd, struct file_lock *fl) 14 int cmd, struct file_lock *fl); 12 int dlm_posix_unlock(dlm_lockspace_t *lockspac 15 int dlm_posix_unlock(dlm_lockspace_t *lockspace, u64 number, struct file *file, 13 struct file_lock *fl); 16 struct file_lock *fl); 14 int dlm_posix_cancel(dlm_lockspace_t *lockspac << 15 struct file_lock *fl); << 16 int dlm_posix_get(dlm_lockspace_t *lockspace, 17 int dlm_posix_get(dlm_lockspace_t *lockspace, u64 number, struct file *file, 17 struct file_lock *fl); 18 struct file_lock *fl); 18 #endif 19 #endif 19 20
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.