Blame view

fs/gfs2/super.h 1.93 KB
b3b94faa5   David Teigland   [GFS2] The core o...
1
2
  /*
   * Copyright (C) Sistina Software, Inc.  1997-2003 All rights reserved.
3a8a9a103   Steven Whitehouse   [GFS2] Update cop...
3
   * Copyright (C) 2004-2006 Red Hat, Inc.  All rights reserved.
b3b94faa5   David Teigland   [GFS2] The core o...
4
5
6
   *
   * This copyrighted material is made available to anyone wishing to use,
   * modify, copy, or redistribute it subject to the terms and conditions
e9fc2aa09   Steven Whitehouse   [GFS2] Update cop...
7
   * of the GNU General Public License version 2.
b3b94faa5   David Teigland   [GFS2] The core o...
8
9
10
11
   */
  
  #ifndef __SUPER_DOT_H__
  #define __SUPER_DOT_H__
b27605837   Steven Whitehouse   GFS2: Rationalise...
12
13
  #include <linux/fs.h>
  #include <linux/dcache.h>
f2f7ba523   Steven Whitehouse   [GFS2] Make heade...
14
  #include "incore.h"
6f04c1c7f   Steven Whitehouse   GFS2: Fix remount...
15
  extern void gfs2_lm_unmount(struct gfs2_sbd *sdp);
b3b94faa5   David Teigland   [GFS2] The core o...
16
17
18
19
20
21
22
23
24
  
  static inline unsigned int gfs2_jindex_size(struct gfs2_sbd *sdp)
  {
  	unsigned int x;
  	spin_lock(&sdp->sd_jindex_spin);
  	x = sdp->sd_journals;
  	spin_unlock(&sdp->sd_jindex_spin);
  	return x;
  }
8633ecfab   Steven Whitehouse   GFS2: Add online ...
25
  extern void gfs2_jindex_free(struct gfs2_sbd *sdp);
fefc03bfe   Steven Whitehouse   Revert "GFS2: Fix...
26

f55073ff1   Steven Whitehouse   GFS2: Fix -o meta...
27
  extern int gfs2_mount_args(struct gfs2_args *args, char *data);
b3b94faa5   David Teigland   [GFS2] The core o...
28

6f04c1c7f   Steven Whitehouse   GFS2: Fix remount...
29
30
  extern struct gfs2_jdesc *gfs2_jdesc_find(struct gfs2_sbd *sdp, unsigned int jid);
  extern int gfs2_jdesc_check(struct gfs2_jdesc *jd);
b3b94faa5   David Teigland   [GFS2] The core o...
31

6f04c1c7f   Steven Whitehouse   GFS2: Fix remount...
32
33
  extern int gfs2_lookup_in_master_dir(struct gfs2_sbd *sdp, char *filename,
  				     struct gfs2_inode **ipp);
b3b94faa5   David Teigland   [GFS2] The core o...
34

6f04c1c7f   Steven Whitehouse   GFS2: Fix remount...
35
  extern int gfs2_make_fs_rw(struct gfs2_sbd *sdp);
8633ecfab   Steven Whitehouse   GFS2: Add online ...
36
  extern void gfs2_online_uevent(struct gfs2_sbd *sdp);
6f04c1c7f   Steven Whitehouse   GFS2: Fix remount...
37
38
39
  extern int gfs2_statfs_init(struct gfs2_sbd *sdp);
  extern void gfs2_statfs_change(struct gfs2_sbd *sdp, s64 total, s64 free,
  			       s64 dinodes);
1946f70ab   Benjamin Marzinski   GFS2: keep statfs...
40
41
42
43
  extern void gfs2_statfs_change_in(struct gfs2_statfs_change_host *sc,
  				  const void *buf);
  extern void update_statfs(struct gfs2_sbd *sdp, struct buffer_head *m_bh,
  			  struct buffer_head *l_bh);
8c42d637f   Steven Whitehouse   GFS2: Alter argum...
44
  extern int gfs2_statfs_sync(struct super_block *sb, int type);
2e60d7683   Benjamin Marzinski   GFS2: update free...
45
  extern void gfs2_freeze_func(struct work_struct *work);
6f04c1c7f   Steven Whitehouse   GFS2: Fix remount...
46

b27605837   Steven Whitehouse   GFS2: Rationalise...
47
48
49
50
  extern struct file_system_type gfs2_fs_type;
  extern struct file_system_type gfs2meta_fs_type;
  extern const struct export_operations gfs2_export_ops;
  extern const struct super_operations gfs2_super_ops;
92cecbbfa   Al Viro   constify dentry_o...
51
  extern const struct dentry_operations gfs2_dops;
b7bb0a129   Stephen Hemminger   gfs: constify xat...
52
  extern const struct xattr_handler *gfs2_xattr_handlers[];
b27605837   Steven Whitehouse   GFS2: Rationalise...
53

b3b94faa5   David Teigland   [GFS2] The core o...
54
  #endif /* __SUPER_DOT_H__ */