Thomas Gleixner | 328970d | 2019-05-24 12:04:05 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
Mark Fasheh | 53fc622 | 2007-12-20 16:49:04 -0800 | [diff] [blame] | 2 | /* -*- 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. |
Mark Fasheh | 53fc622 | 2007-12-20 16:49:04 -0800 | [diff] [blame] | 10 | */ |
| 11 | |
| 12 | #ifndef OCFS2_LOCKS_H |
| 13 | #define OCFS2_LOCKS_H |
| 14 | |
| 15 | int ocfs2_flock(struct file *file, int cmd, struct file_lock *fl); |
Mark Fasheh | 53da493 | 2008-07-21 14:29:16 -0700 | [diff] [blame] | 16 | int ocfs2_lock(struct file *file, int cmd, struct file_lock *fl); |
Mark Fasheh | 53fc622 | 2007-12-20 16:49:04 -0800 | [diff] [blame] | 17 | |
| 18 | #endif /* OCFS2_LOCKS_H */ |