Christoph Hellwig | 48c872a9f | 2007-08-30 17:20:31 +1000 | [diff] [blame] | 1 | #ifndef _XFS_VFSOPS_H |
| 2 | #define _XFS_VFSOPS_H 1 |
| 3 | |
| 4 | struct cred; |
Christoph Hellwig | c614391 | 2007-09-14 15:22:37 +1000 | [diff] [blame] | 5 | struct xfs_fid; |
Christoph Hellwig | 48c872a9f | 2007-08-30 17:20:31 +1000 | [diff] [blame] | 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); |
Christoph Hellwig | 48c872a9f | 2007-08-30 17:20:31 +1000 | [diff] [blame] | 17 | int xfs_sync(struct xfs_mount *mp, int flags); |
Christoph Hellwig | c614391 | 2007-09-14 15:22:37 +1000 | [diff] [blame] | 18 | int xfs_vget(struct xfs_mount *mp, bhv_vnode_t **vpp, struct xfs_fid *xfid); |
Christoph Hellwig | 48c872a9f | 2007-08-30 17:20:31 +1000 | [diff] [blame] | 19 | int xfs_parseargs(struct xfs_mount *mp, char *options, |
| 20 | struct xfs_mount_args *args, int update); |
| 21 | int xfs_showargs(struct xfs_mount *mp, struct seq_file *m); |
Christoph Hellwig | 48c872a9f | 2007-08-30 17:20:31 +1000 | [diff] [blame] | 22 | void xfs_do_force_shutdown(struct xfs_mount *mp, int flags, char *fname, |
| 23 | int lnnum); |
Christoph Hellwig | 9909c4a | 2007-10-11 18:11:14 +1000 | [diff] [blame^] | 24 | void xfs_attr_quiesce(struct xfs_mount *mp); |
Christoph Hellwig | 48c872a9f | 2007-08-30 17:20:31 +1000 | [diff] [blame] | 25 | |
| 26 | #endif /* _XFS_VFSOPS_H */ |