blob: 38ed10397e078e9381e9eb1e54dd2594e05c35c0 [file] [log] [blame]
Christoph Hellwig48c872a9f2007-08-30 17:20:31 +10001#ifndef _XFS_VFSOPS_H
2#define _XFS_VFSOPS_H 1
3
4struct cred;
Christoph Hellwigc6143912007-09-14 15:22:37 +10005struct xfs_fid;
Christoph Hellwig48c872a9f2007-08-30 17:20:31 +10006struct inode;
7struct kstatfs;
8struct xfs_mount;
9struct xfs_mount_args;
10
11int xfs_mount(struct xfs_mount *mp, struct xfs_mount_args *args,
12 struct cred *credp);
13int xfs_unmount(struct xfs_mount *mp, int flags, struct cred *credp);
14int xfs_mntupdate(struct xfs_mount *mp, int *flags,
15 struct xfs_mount_args *args);
16int xfs_root(struct xfs_mount *mp, bhv_vnode_t **vpp);
Christoph Hellwig48c872a9f2007-08-30 17:20:31 +100017int xfs_sync(struct xfs_mount *mp, int flags);
Christoph Hellwigc6143912007-09-14 15:22:37 +100018int xfs_vget(struct xfs_mount *mp, bhv_vnode_t **vpp, struct xfs_fid *xfid);
Christoph Hellwig48c872a9f2007-08-30 17:20:31 +100019int xfs_parseargs(struct xfs_mount *mp, char *options,
20 struct xfs_mount_args *args, int update);
21int xfs_showargs(struct xfs_mount *mp, struct seq_file *m);
Christoph Hellwig48c872a9f2007-08-30 17:20:31 +100022void xfs_do_force_shutdown(struct xfs_mount *mp, int flags, char *fname,
23 int lnnum);
Christoph Hellwig9909c4a2007-10-11 18:11:14 +100024void xfs_attr_quiesce(struct xfs_mount *mp);
Christoph Hellwig48c872a9f2007-08-30 17:20:31 +100025
26#endif /* _XFS_VFSOPS_H */