blob: 389fe1fce3a5c9627ef87fa9e01b3ca73a799c77 [file] [log] [blame]
David Brazdil0f672f62019-12-10 10:32:29 +00001/* SPDX-License-Identifier: GPL-2.0-or-later */
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00002/* -*- mode: c; c-basic-offset: 8; -*-
3 * vim: noexpandtab sw=8 ts=8 sts=0:
4 *
5 * locks.h
6 *
7 * Function prototypes for Userspace file locking support
8 *
9 * Copyright (C) 2002, 2004 Oracle. All rights reserved.
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000010 */
11
12#ifndef OCFS2_LOCKS_H
13#define OCFS2_LOCKS_H
14
15int ocfs2_flock(struct file *file, int cmd, struct file_lock *fl);
16int ocfs2_lock(struct file *file, int cmd, struct file_lock *fl);
17
18#endif /* OCFS2_LOCKS_H */