xref: /openbmc/linux/fs/gfs2/glops.h (revision d312fbf6)
17336d0e6SThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-only */
2b3b94faaSDavid Teigland /*
3b3b94faaSDavid Teigland  * Copyright (C) Sistina Software, Inc.  1997-2003 All rights reserved.
43a8a9a10SSteven Whitehouse  * Copyright (C) 2004-2006 Red Hat, Inc.  All rights reserved.
5b3b94faaSDavid Teigland  */
6b3b94faaSDavid Teigland 
7b3b94faaSDavid Teigland #ifndef __GLOPS_DOT_H__
8b3b94faaSDavid Teigland #define __GLOPS_DOT_H__
9b3b94faaSDavid Teigland 
10f2f7ba52SSteven Whitehouse #include "incore.h"
11f2f7ba52SSteven Whitehouse 
122e60d768SBenjamin Marzinski extern struct workqueue_struct *gfs2_freeze_wq;
132e60d768SBenjamin Marzinski 
148fb4b536SSteven Whitehouse extern const struct gfs2_glock_operations gfs2_meta_glops;
158fb4b536SSteven Whitehouse extern const struct gfs2_glock_operations gfs2_inode_glops;
168fb4b536SSteven Whitehouse extern const struct gfs2_glock_operations gfs2_rgrp_glops;
1724972557SBenjamin Marzinski extern const struct gfs2_glock_operations gfs2_freeze_glops;
188fb4b536SSteven Whitehouse extern const struct gfs2_glock_operations gfs2_iopen_glops;
198fb4b536SSteven Whitehouse extern const struct gfs2_glock_operations gfs2_flock_glops;
208fb4b536SSteven Whitehouse extern const struct gfs2_glock_operations gfs2_nondisk_glops;
218fb4b536SSteven Whitehouse extern const struct gfs2_glock_operations gfs2_quota_glops;
228fb4b536SSteven Whitehouse extern const struct gfs2_glock_operations gfs2_journal_glops;
2364d576baSSteven Whitehouse extern const struct gfs2_glock_operations *gfs2_glops_list[];
24b3b94faaSDavid Teigland 
25d312fbf6SAndreas Gruenbacher int gfs2_inode_metasync(struct gfs2_glock *gl);
26d312fbf6SAndreas Gruenbacher void gfs2_ail_flush(struct gfs2_glock *gl, bool fsync);
27dba898b0SSteven Whitehouse 
28b3b94faaSDavid Teigland #endif /* __GLOPS_DOT_H__ */
29