Merge branch 'for-linus' of git://oss.sgi.com:8090/xfs/xfs-2.6
[sfrench/cifs-2.6.git] / fs / xfs / xfs_vfsops.h
1 #ifndef _XFS_VFSOPS_H
2 #define _XFS_VFSOPS_H 1
3
4 struct cred;
5 struct fid;
6 struct inode;
7 struct kstatfs;
8 struct xfs_mount;
9 struct xfs_mount_args;
10
11 int xfs_mount(struct xfs_mount *mp, struct xfs_mount_args *args,
12                 struct cred *credp);
13 int xfs_unmount(struct xfs_mount *mp, int flags, struct cred *credp);
14 int xfs_mntupdate(struct xfs_mount *mp, int *flags,
15                 struct xfs_mount_args *args);
16 int xfs_root(struct xfs_mount *mp, bhv_vnode_t **vpp);
17 int xfs_statvfs(struct xfs_mount *mp, struct kstatfs *statp,
18                 bhv_vnode_t *vp);
19 int xfs_sync(struct xfs_mount *mp, int flags);
20 int xfs_vget(struct xfs_mount *mp, bhv_vnode_t **vpp, struct fid *fidp);
21 int xfs_parseargs(struct xfs_mount *mp, char *options,
22                 struct xfs_mount_args *args, int update);
23 int xfs_showargs(struct xfs_mount *mp, struct seq_file *m);
24 void xfs_freeze(struct xfs_mount *mp);
25 void xfs_do_force_shutdown(struct xfs_mount *mp, int flags, char *fname,
26                 int lnnum);
27
28 #endif /* _XFS_VFSOPS_H */