2019-05-24 18:04:05 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
2007-12-21 08:49:04 +08:00
|
|
|
/* -*- mode: c; c-basic-offset: 8; -*-
|
|
|
|
* vim: noexpandtab sw=8 ts=8 sts=0:
|
|
|
|
*
|
|
|
|
* locks.h
|
|
|
|
*
|
|
|
|
* Function prototypes for Userspace file locking support
|
|
|
|
*
|
|
|
|
* Copyright (C) 2002, 2004 Oracle. All rights reserved.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef OCFS2_LOCKS_H
|
|
|
|
#define OCFS2_LOCKS_H
|
|
|
|
|
|
|
|
int ocfs2_flock(struct file *file, int cmd, struct file_lock *fl);
|
2008-07-22 05:29:16 +08:00
|
|
|
int ocfs2_lock(struct file *file, int cmd, struct file_lock *fl);
|
2007-12-21 08:49:04 +08:00
|
|
|
|
|
|
|
#endif /* OCFS2_LOCKS_H */
|