xref: /openbmc/linux/fs/gfs2/glops.h (revision 49c23519)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Copyright (C) Sistina Software, Inc.  1997-2003 All rights reserved.
4  * Copyright (C) 2004-2006 Red Hat, Inc.  All rights reserved.
5  */
6 
7 #ifndef __GLOPS_DOT_H__
8 #define __GLOPS_DOT_H__
9 
10 #include "incore.h"
11 
12 extern struct workqueue_struct *gfs2_freeze_wq;
13 
14 extern const struct gfs2_glock_operations gfs2_meta_glops;
15 extern const struct gfs2_glock_operations gfs2_inode_glops;
16 extern const struct gfs2_glock_operations gfs2_rgrp_glops;
17 extern const struct gfs2_glock_operations gfs2_freeze_glops;
18 extern const struct gfs2_glock_operations gfs2_iopen_glops;
19 extern const struct gfs2_glock_operations gfs2_flock_glops;
20 extern const struct gfs2_glock_operations gfs2_nondisk_glops;
21 extern const struct gfs2_glock_operations gfs2_quota_glops;
22 extern const struct gfs2_glock_operations gfs2_journal_glops;
23 extern const struct gfs2_glock_operations *gfs2_glops_list[];
24 
25 int gfs2_inode_metasync(struct gfs2_glock *gl);
26 void gfs2_ail_flush(struct gfs2_glock *gl, bool fsync);
27 
28 #endif /* __GLOPS_DOT_H__ */
29