xfs: kill struct declarations in xfs_mount.h
authorAlex Elder <elder@inktank.com>
Wed, 1 Aug 2012 14:56:49 +0000 (09:56 -0500)
committerBen Myers <bpm@sgi.com>
Thu, 16 Aug 2012 18:29:35 +0000 (13:29 -0500)
I noticed that "struct xfs_mount_args" was still declared in
"fs/xfs/xfs_mount.h".  That struct doesn't even exist any more (and
is obviously not referenced elsewhere in that header file).  While
in there, delete four other unneeded struct declarations in that
file.

Doing so highlights that "fs/xfs/xfs_trace.h" was relying indirectly
on "xfs_mount.h" to be #included in order to declare "struct
xfs_bmbt_irec", so add that declaration to resolve that issue.

Signed-off-by: Alex Elder <elder@inktank.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_mount.h
fs/xfs/xfs_trace.h

index 05a05a7b611963f03d0249a97cb5edbc50c152a6..deee09e534dcf35de23535bfa6ce94f6ffa750a6 100644 (file)
@@ -54,12 +54,7 @@ typedef struct xfs_trans_reservations {
 #include "xfs_sync.h"
 
 struct xlog;
-struct xfs_mount_args;
 struct xfs_inode;
-struct xfs_bmbt_irec;
-struct xfs_bmap_free;
-struct xfs_extdelta;
-struct xfs_swapext;
 struct xfs_mru_cache;
 struct xfs_nameops;
 struct xfs_ail;
index e5795dd6013ad2b34d5a208d1cf7ad448c937387..7d36ccf57f93236c5d8228c158b3ff5ba0886672 100644 (file)
@@ -37,6 +37,7 @@ struct xlog_recover;
 struct xlog_recover_item;
 struct xfs_buf_log_format;
 struct xfs_inode_log_format;
+struct xfs_bmbt_irec;
 
 DECLARE_EVENT_CLASS(xfs_attr_list_class,
        TP_PROTO(struct xfs_attr_list_context *ctx),