blob: b52de3947d5fe0ceb5ea855aa154fedc9558798c [file] [log] [blame]
Thomas Gleixner328970d2019-05-24 12:04:05 +02001/* SPDX-License-Identifier: GPL-2.0-or-later */
Masahiro Yamadafa60ce22021-05-06 18:06:44 -07002/*
Mark Fasheh53fc6222007-12-20 16:49:04 -08003 * locks.h
4 *
5 * Function prototypes for Userspace file locking support
6 *
7 * Copyright (C) 2002, 2004 Oracle. All rights reserved.
Mark Fasheh53fc6222007-12-20 16:49:04 -08008 */
9
10#ifndef OCFS2_LOCKS_H
11#define OCFS2_LOCKS_H
12
13int ocfs2_flock(struct file *file, int cmd, struct file_lock *fl);
Mark Fasheh53da4932008-07-21 14:29:16 -070014int ocfs2_lock(struct file *file, int cmd, struct file_lock *fl);
Mark Fasheh53fc6222007-12-20 16:49:04 -080015
16#endif /* OCFS2_LOCKS_H */