blob: 95ad387a7769e1b8e9ac968b7ad28e2f7b3b00f9 [file] [log] [blame]
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00001/*
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 */
8#ifndef __DLM_PLOCK_DOT_H__
9#define __DLM_PLOCK_DOT_H__
10
11#include <uapi/linux/dlm_plock.h>
12
13int dlm_posix_lock(dlm_lockspace_t *lockspace, u64 number, struct file *file,
14 int cmd, struct file_lock *fl);
15int dlm_posix_unlock(dlm_lockspace_t *lockspace, u64 number, struct file *file,
16 struct file_lock *fl);
17int dlm_posix_get(dlm_lockspace_t *lockspace, u64 number, struct file *file,
18 struct file_lock *fl);
19#endif