Thomas Gleixner | 328970d | 2019-05-24 12:04:05 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
Masahiro Yamada | fa60ce2 | 2021-05-06 18:06:44 -0700 | [diff] [blame] | 2 | /* |
Mark Fasheh | 53fc622 | 2007-12-20 16:49:04 -0800 | [diff] [blame] | 3 | * locks.h |
| 4 | * |
| 5 | * Function prototypes for Userspace file locking support |
| 6 | * |
| 7 | * Copyright (C) 2002, 2004 Oracle. All rights reserved. |
Mark Fasheh | 53fc622 | 2007-12-20 16:49:04 -0800 | [diff] [blame] | 8 | */ |
| 9 | |
| 10 | #ifndef OCFS2_LOCKS_H |
| 11 | #define OCFS2_LOCKS_H |
| 12 | |
| 13 | int ocfs2_flock(struct file *file, int cmd, struct file_lock *fl); |
Mark Fasheh | 53da493 | 2008-07-21 14:29:16 -0700 | [diff] [blame] | 14 | int ocfs2_lock(struct file *file, int cmd, struct file_lock *fl); |
Mark Fasheh | 53fc622 | 2007-12-20 16:49:04 -0800 | [diff] [blame] | 15 | |
| 16 | #endif /* OCFS2_LOCKS_H */ |