2007-08-30 14:20:31 +07:00
|
|
|
#ifndef _XFS_VFSOPS_H
|
|
|
|
#define _XFS_VFSOPS_H 1
|
|
|
|
|
|
|
|
struct cred;
|
2007-09-14 12:22:37 +07:00
|
|
|
struct xfs_fid;
|
2007-08-30 14:20:31 +07:00
|
|
|
struct inode;
|
|
|
|
struct kstatfs;
|
|
|
|
struct xfs_mount;
|
|
|
|
struct xfs_mount_args;
|
|
|
|
|
|
|
|
int xfs_mount(struct xfs_mount *mp, struct xfs_mount_args *args,
|
|
|
|
struct cred *credp);
|
|
|
|
int xfs_unmount(struct xfs_mount *mp, int flags, struct cred *credp);
|
|
|
|
int xfs_mntupdate(struct xfs_mount *mp, int *flags,
|
|
|
|
struct xfs_mount_args *args);
|
|
|
|
int xfs_root(struct xfs_mount *mp, bhv_vnode_t **vpp);
|
|
|
|
int xfs_sync(struct xfs_mount *mp, int flags);
|
2007-09-14 12:22:37 +07:00
|
|
|
int xfs_vget(struct xfs_mount *mp, bhv_vnode_t **vpp, struct xfs_fid *xfid);
|
2007-08-30 14:20:31 +07:00
|
|
|
int xfs_parseargs(struct xfs_mount *mp, char *options,
|
|
|
|
struct xfs_mount_args *args, int update);
|
|
|
|
int xfs_showargs(struct xfs_mount *mp, struct seq_file *m);
|
|
|
|
void xfs_freeze(struct xfs_mount *mp);
|
|
|
|
void xfs_do_force_shutdown(struct xfs_mount *mp, int flags, char *fname,
|
|
|
|
int lnnum);
|
|
|
|
|
|
|
|
#endif /* _XFS_VFSOPS_H */
|