]> pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[XFS] remove bhv_statvfs_t typedef
authorChristoph Hellwig <hch@lst.de>
Fri, 28 Nov 2008 03:23:36 +0000 (14:23 +1100)
committerNiv Sardi <xaiki@sgi.com>
Mon, 1 Dec 2008 00:36:46 +0000 (11:36 +1100)
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Niv Sardi <xaiki@sgi.com>
fs/xfs/linux-2.6/xfs_vfs.h
fs/xfs/quota/xfs_qm_bhv.c
fs/xfs/xfs_mount.h

index 0ab60bc2e76140644d2bdb78c32a5f5d54b569bb..8de5c4c95cb61df97f80647063838a8fb119fdba 100644 (file)
@@ -31,8 +31,6 @@ struct xfs_inode;
 struct xfs_mount;
 struct xfs_mount_args;
 
-typedef struct kstatfs bhv_statvfs_t;
-
 #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_FORCE_UMOUNT  0x0004  /* shutdown from a forced unmount */
index 9556df9f7dabbd717394ae173f6a1f467374229f..bc6c5cca3e1251d141d7e80084cb6757e9d41214 100644 (file)
@@ -50,7 +50,7 @@
 
 STATIC void
 xfs_fill_statvfs_from_dquot(
-       bhv_statvfs_t           *statp,
+       struct kstatfs          *statp,
        xfs_disk_dquot_t        *dp)
 {
        __uint64_t              limit;
@@ -87,7 +87,7 @@ xfs_fill_statvfs_from_dquot(
 STATIC void
 xfs_qm_statvfs(
        xfs_inode_t             *ip,
-       bhv_statvfs_t           *statp)
+       struct kstatfs          *statp)
 {
        xfs_mount_t             *mp = ip->i_mount;
        xfs_dquot_t             *dqp;
index e3f618c84e4742cdb423b628cae1eb12efc0ea61..d70314302520af6a4e0d1a5dfbd62aacbac386c3 100644 (file)
@@ -134,7 +134,7 @@ typedef struct xfs_dquot * (*xfs_dqvopchown_t)(
                        struct xfs_dquot **, struct xfs_dquot *);
 typedef int    (*xfs_dqvopchownresv_t)(struct xfs_trans *, struct xfs_inode *,
                        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_quotactl_t)(struct xfs_mount *, int, int, xfs_caddr_t);