diff options
author | Christoph Hellwig <hch@infradead.org> | 2007-08-30 03:20:31 -0400 |
---|---|---|
committer | Tim Shimmin <tes@chook.melbourne.sgi.com> | 2007-10-15 21:43:55 -0400 |
commit | 48c872a9f3ec4cdc37801aae9ef16c80026503ea (patch) | |
tree | 51d377e7ced7298d96daf9008558e54177e47a30 /fs/xfs/xfs_vfsops.h | |
parent | b09cc77109dbf33463480952de10511a2b67bba6 (diff) |
[XFS] decontaminate vfs operations from behavior details
All vfs ops now take struct xfs_mount pointers and the behaviour related
glue is split out into methods of its own.
SGI-PV: 969608
SGI-Modid: xfs-linux-melb:xfs-kern:29504a
Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_vfsops.h')
-rw-r--r-- | fs/xfs/xfs_vfsops.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/fs/xfs/xfs_vfsops.h b/fs/xfs/xfs_vfsops.h new file mode 100644 index 000000000000..994502eac19a --- /dev/null +++ b/fs/xfs/xfs_vfsops.h | |||
@@ -0,0 +1,31 @@ | |||
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 | struct inode *xfs_get_inode(struct xfs_mount *mp, xfs_ino_t ino, int flags); | ||
28 | void xfs_initialize_vnode(struct xfs_mount *mp, bhv_vnode_t *vp, | ||
29 | struct xfs_inode *ip, int unlock); | ||
30 | |||
31 | #endif /* _XFS_VFSOPS_H */ | ||