f71354bc3a
- merge xfs_fid2 into it's only caller xfs_dm_inode_to_fh. - remove xfs_vget and opencode it in the two callers, simplifying both of them by avoiding the awkward calling convetion. - assign directly to the dm_fid_t members in various places in the dmapi code instead of casting them to xfs_fid_t first (which is identical to dm_fid_t) SGI-PV: 974747 SGI-Modid: xfs-linux-melb:xfs-kern:30258a Signed-off-by: Christoph Hellwig <hch@infradead.org> Signed-off-by: Vlad Apostolov <vapo@sgi.com> Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
22 lines
652 B
C
22 lines
652 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_sync(struct xfs_mount *mp, int flags);
|
|
void xfs_do_force_shutdown(struct xfs_mount *mp, int flags, char *fname,
|
|
int lnnum);
|
|
void xfs_attr_quiesce(struct xfs_mount *mp);
|
|
|
|
#endif /* _XFS_VFSOPS_H */
|