mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-05 07:36:56 +07:00
c6143911a7
Currently XFs has three different fid types: struct fid, struct xfs_fid and struct xfs_fid2 with hte latter two beeing identicaly and the first one beeing the same size but an unstructured array with the same size. This patch consolidates all this to alway uuse struct xfs_fid. This patch is required for an upcoming patch series from me that revamps the nfs exporting code and introduces a Linux-wide struct fid. SGI-PV: 970336 SGI-Modid: xfs-linux-melb:xfs-kern:29651a Signed-off-by: Christoph Hellwig <hch@infradead.org> Signed-off-by: Lachlan McIlroy <lachlan@sgi.com> Signed-off-by: Tim Shimmin <tes@sgi.com>
29 lines
963 B
C
29 lines
963 B
C
#ifndef _XFS_VFSOPS_H
|
|
#define _XFS_VFSOPS_H 1
|
|
|
|
struct cred;
|
|
struct xfs_fid;
|
|
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_statvfs(struct xfs_mount *mp, struct kstatfs *statp,
|
|
bhv_vnode_t *vp);
|
|
int xfs_sync(struct xfs_mount *mp, int flags);
|
|
int xfs_vget(struct xfs_mount *mp, bhv_vnode_t **vpp, struct xfs_fid *xfid);
|
|
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 */
|