Commit 00dd4029 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Niv Sardi

[XFS] remove bhv_statvfs_t typedef

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarDave Chinner <david@fromorbit.com>
Signed-off-by: default avatarNiv Sardi <xaiki@sgi.com>
parent f35642e2
...@@ -31,8 +31,6 @@ struct xfs_inode; ...@@ -31,8 +31,6 @@ struct xfs_inode;
struct xfs_mount; struct xfs_mount;
struct xfs_mount_args; struct xfs_mount_args;
typedef struct kstatfs bhv_statvfs_t;
#define SHUTDOWN_META_IO_ERROR 0x0001 /* write attempt to metadata failed */ #define SHUTDOWN_META_IO_ERROR 0x0001 /* write attempt to metadata failed */
#define SHUTDOWN_LOG_IO_ERROR 0x0002 /* write attempt to the log failed */ #define SHUTDOWN_LOG_IO_ERROR 0x0002 /* write attempt to the log failed */
#define SHUTDOWN_FORCE_UMOUNT 0x0004 /* shutdown from a forced unmount */ #define SHUTDOWN_FORCE_UMOUNT 0x0004 /* shutdown from a forced unmount */
......
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
STATIC void STATIC void
xfs_fill_statvfs_from_dquot( xfs_fill_statvfs_from_dquot(
bhv_statvfs_t *statp, struct kstatfs *statp,
xfs_disk_dquot_t *dp) xfs_disk_dquot_t *dp)
{ {
__uint64_t limit; __uint64_t limit;
...@@ -87,7 +87,7 @@ xfs_fill_statvfs_from_dquot( ...@@ -87,7 +87,7 @@ xfs_fill_statvfs_from_dquot(
STATIC void STATIC void
xfs_qm_statvfs( xfs_qm_statvfs(
xfs_inode_t *ip, xfs_inode_t *ip,
bhv_statvfs_t *statp) struct kstatfs *statp)
{ {
xfs_mount_t *mp = ip->i_mount; xfs_mount_t *mp = ip->i_mount;
xfs_dquot_t *dqp; xfs_dquot_t *dqp;
......
...@@ -134,7 +134,7 @@ typedef struct xfs_dquot * (*xfs_dqvopchown_t)( ...@@ -134,7 +134,7 @@ typedef struct xfs_dquot * (*xfs_dqvopchown_t)(
struct xfs_dquot **, struct xfs_dquot *); struct xfs_dquot **, struct xfs_dquot *);
typedef int (*xfs_dqvopchownresv_t)(struct xfs_trans *, struct xfs_inode *, typedef int (*xfs_dqvopchownresv_t)(struct xfs_trans *, struct xfs_inode *,
struct xfs_dquot *, struct xfs_dquot *, uint); struct xfs_dquot *, struct xfs_dquot *, uint);
typedef void (*xfs_dqstatvfs_t)(struct xfs_inode *, bhv_statvfs_t *); typedef void (*xfs_dqstatvfs_t)(struct xfs_inode *, struct kstatfs *);
typedef int (*xfs_dqsync_t)(struct xfs_mount *, int flags); typedef int (*xfs_dqsync_t)(struct xfs_mount *, int flags);
typedef int (*xfs_quotactl_t)(struct xfs_mount *, int, int, xfs_caddr_t); typedef int (*xfs_quotactl_t)(struct xfs_mount *, int, int, xfs_caddr_t);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment