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