18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */ 28c2ecf20Sopenharmony_ci/* -*- mode: c; c-basic-offset: 8; -*- 38c2ecf20Sopenharmony_ci * vim: noexpandtab sw=8 ts=8 sts=0: 48c2ecf20Sopenharmony_ci * 58c2ecf20Sopenharmony_ci * locks.h 68c2ecf20Sopenharmony_ci * 78c2ecf20Sopenharmony_ci * Function prototypes for Userspace file locking support 88c2ecf20Sopenharmony_ci * 98c2ecf20Sopenharmony_ci * Copyright (C) 2002, 2004 Oracle. All rights reserved. 108c2ecf20Sopenharmony_ci */ 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ci#ifndef OCFS2_LOCKS_H 138c2ecf20Sopenharmony_ci#define OCFS2_LOCKS_H 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ciint ocfs2_flock(struct file *file, int cmd, struct file_lock *fl); 168c2ecf20Sopenharmony_ciint ocfs2_lock(struct file *file, int cmd, struct file_lock *fl); 178c2ecf20Sopenharmony_ci 188c2ecf20Sopenharmony_ci#endif /* OCFS2_LOCKS_H */ 19