1
/* -*- mode: c; c-basic-offset: 8; -*-
2
* vim: noexpandtab sw=8 ts=8 sts=0:
6
* Interface the OCFS2 userspace library to the userspace DLM library
8
* Copyright (C) 2004 Oracle. All rights reserved.
10
* This program is free software; you can redistribute it and/or
11
* modify it under the terms of the GNU General Public
12
* License, version 2, as published by the Free Software Foundation.
14
* This program is distributed in the hope that it will be useful,
15
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17
* General Public License for more details.
19
* You should have received a copy of the GNU General Public
20
* License along with this program; if not, write to the
21
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
22
* Boston, MA 021110-1307, USA.
24
* Authors: Mark Fasheh
30
errcode_t ocfs2_lock_down_cluster(ocfs2_filesys *fs);
31
errcode_t ocfs2_release_cluster(ocfs2_filesys *fs);
33
errcode_t ocfs2_initialize_dlm(ocfs2_filesys *fs);
34
errcode_t ocfs2_shutdown_dlm(ocfs2_filesys *fs);
36
errcode_t ocfs2_super_lock(ocfs2_filesys *fs);
37
errcode_t ocfs2_super_unlock(ocfs2_filesys *fs);
39
errcode_t ocfs2_meta_lock(ocfs2_filesys *fs,
40
ocfs2_cached_inode *inode,
41
enum o2dlm_lock_level level,
43
errcode_t ocfs2_meta_unlock(ocfs2_filesys *fs,
44
ocfs2_cached_inode *ci);