@@ -4,7 +4,6 @@
* All Rights Reserved.
*/
-#include "libxfs.h"
#include "globals.h"
#include "agheader.h"
#include "protos.h"
@@ -4,14 +4,10 @@
* All Rights Reserved.
*/
-#include "libxfs.h"
#include "globals.h"
#include "err_protos.h"
#include "attr_repair.h"
-#include "dinode.h"
#include "bmap.h"
-#include "protos.h"
-#include "dir2.h"
#include "da_util.h"
static int xfs_acl_valid(struct xfs_mount *mp, struct xfs_acl *daclp);
@@ -5,7 +5,6 @@
*/
#include "libxfs.h"
-#include "btree.h"
/*
* Maximum number of keys per node. Must be greater than 2 for the code
@@ -6,7 +6,6 @@
/* Various utilities for repair of directory and attribute metadata */
-#include "libxfs.h"
#include "globals.h"
#include "err_protos.h"
#include "bmap.h"
@@ -4,12 +4,7 @@
* All Rights Reserved.
*/
-#include "libxfs.h"
-#include "avl.h"
#include "globals.h"
-#include "agheader.h"
-#include "incore.h"
-#include "protos.h"
#include "err_protos.h"
#include "dinode.h"
#include "versions.h"
@@ -4,20 +4,13 @@
* All Rights Reserved.
*/
-#include "libxfs.h"
-#include "avl.h"
#include "globals.h"
-#include "agheader.h"
#include "incore.h"
-#include "protos.h"
#include "err_protos.h"
#include "dir2.h"
-#include "dinode.h"
#include "scan.h"
-#include "versions.h"
#include "attr_repair.h"
#include "bmap.h"
-#include "threads.h"
#include "slab.h"
#include "rmap.h"
@@ -4,17 +4,12 @@
* All Rights Reserved.
*/
-#include "libxfs.h"
-#include "avl.h"
#include "globals.h"
#include "incore.h"
#include "err_protos.h"
#include "dinode.h"
-#include "dir2.h"
#include "bmap.h"
#include "da_util.h"
-#include "prefetch.h"
-#include "progress.h"
/*
* Known bad inode list. These are seen when the leaf and node
@@ -4,15 +4,10 @@
* All Rights Reserved.
*/
-#include "libxfs.h"
-#include "avl.h"
#include "btree.h"
#include "globals.h"
#include "incore.h"
-#include "agheader.h"
-#include "protos.h"
#include "err_protos.h"
-#include "threads.h"
/*
* The following manages the in-core bitmap of the entire filesystem
@@ -5,12 +5,7 @@
*/
#include "libxfs.h"
-#include "avl.h"
-#include "globals.h"
#include "incore.h"
-#include "agheader.h"
-#include "protos.h"
-#include "err_protos.h"
void
init_bm_cursor(bmap_cursor_t *cursor, int num_levels)
@@ -4,16 +4,11 @@
* All Rights Reserved.
*/
-#include "libxfs.h"
-#include "avl.h"
#include "btree.h"
#include "globals.h"
#include "incore.h"
-#include "agheader.h"
-#include "protos.h"
#include "err_protos.h"
#include "avl64.h"
-#include "threads.h"
/*
* note: there are 4 sets of incore things handled here:
@@ -4,13 +4,8 @@
* All Rights Reserved.
*/
-#include "libxfs.h"
-#include "avl.h"
#include "globals.h"
#include "incore.h"
-#include "agheader.h"
-#include "protos.h"
-#include "threads.h"
#include "err_protos.h"
/*
@@ -4,15 +4,9 @@
* All Rights Reserved.
*/
-#include "libxfs.h"
#include "globals.h"
-#include "agheader.h"
-#include "protos.h"
#include "err_protos.h"
-#include "pthread.h"
-#include "avl.h"
#include "bmap.h"
-#include "incore.h"
#include "prefetch.h"
#include <sys/resource.h>
@@ -4,9 +4,7 @@
* All Rights Reserved.
*/
-#include "libxfs.h"
#include "globals.h"
-#include "agheader.h"
#include "protos.h"
#include "err_protos.h"
@@ -6,10 +6,7 @@
#include "libxfs.h"
#include "libxlog.h"
-#include "avl.h"
#include "globals.h"
-#include "agheader.h"
-#include "protos.h"
#include "err_protos.h"
#include "incore.h"
#include "progress.h"
@@ -7,11 +7,7 @@
#include "libxfs.h"
#include "threads.h"
#include "prefetch.h"
-#include "avl.h"
#include "globals.h"
-#include "agheader.h"
-#include "incore.h"
-#include "protos.h"
#include "err_protos.h"
#include "dinode.h"
#include "progress.h"
@@ -7,16 +7,11 @@
#include "libxfs.h"
#include "threads.h"
#include "prefetch.h"
-#include "avl.h"
#include "globals.h"
-#include "agheader.h"
-#include "incore.h"
-#include "protos.h"
#include "err_protos.h"
#include "dinode.h"
#include "bmap.h"
#include "versions.h"
-#include "dir2.h"
#include "progress.h"
#include "slab.h"
#include "rmap.h"
@@ -4,17 +4,11 @@
* All Rights Reserved.
*/
-#include "libxfs.h"
-#include "avl.h"
#include "globals.h"
-#include "agheader.h"
#include "incore.h"
-#include "protos.h"
#include "err_protos.h"
-#include "dinode.h"
#include "rt.h"
#include "versions.h"
-#include "threads.h"
#include "progress.h"
#include "slab.h"
#include "rmap.h"
@@ -7,15 +7,10 @@
#include "libxfs.h"
#include "threads.h"
#include "prefetch.h"
-#include "avl.h"
#include "globals.h"
-#include "agheader.h"
-#include "incore.h"
#include "dir2.h"
-#include "protos.h"
#include "err_protos.h"
#include "dinode.h"
-#include "progress.h"
#include "versions.h"
static struct cred zerocr;
@@ -4,15 +4,9 @@
* All Rights Reserved.
*/
-#include "libxfs.h"
-#include "avl.h"
#include "globals.h"
-#include "agheader.h"
#include "incore.h"
-#include "protos.h"
#include "err_protos.h"
-#include "dinode.h"
-#include "versions.h"
#include "progress.h"
#include "threads.h"
@@ -1,21 +1,12 @@
// SPDX-License-Identifier: GPL-2.0
-#include "libxfs.h"
#include <pthread.h>
-#include "avl.h"
#include "btree.h"
#include "globals.h"
-#include "agheader.h"
-#include "incore.h"
-#include "dir2.h"
-#include "protos.h"
#include "err_protos.h"
#include "dinode.h"
-#include "bmap.h"
-#include "versions.h"
#include "threads.h"
#include "prefetch.h"
-#include "progress.h"
int do_prefetch = 1;
@@ -1,6 +1,5 @@
// SPDX-License-Identifier: GPL-2.0
-#include "libxfs.h"
#include "globals.h"
#include "progress.h"
#include "err_protos.h"
@@ -4,9 +4,7 @@
* Author: Darrick J. Wong <darrick.wong@oracle.com>
*/
#include <libxfs.h>
-#include "btree.h"
#include "err_protos.h"
-#include "libxlog.h"
#include "incore.h"
#include "globals.h"
#include "dinode.h"
@@ -4,15 +4,9 @@
* All Rights Reserved.
*/
-#include "libxfs.h"
-#include "avl.h"
#include "globals.h"
-#include "agheader.h"
#include "incore.h"
-#include "dinode.h"
-#include "protos.h"
#include "err_protos.h"
-#include "rt.h"
#define xfs_highbit64 libxfs_highbit64 /* for XFS_RTBLOCKLOG macro */
@@ -4,7 +4,6 @@
* All Rights Reserved.
*/
#include "libfrog.h"
-#include "libxfs.h"
#include "libxcmd.h"
#include "libxlog.h"
#include "agheader.h"
@@ -4,15 +4,12 @@
* All Rights Reserved.
*/
-#include "libxfs.h"
-#include "avl.h"
#include "globals.h"
#include "agheader.h"
#include "incore.h"
#include "protos.h"
#include "err_protos.h"
#include "dinode.h"
-#include "scan.h"
#include "versions.h"
#include "bmap.h"
#include "progress.h"
@@ -4,7 +4,6 @@
* Author: Darrick J. Wong <darrick.wong@oracle.com>
*/
#include <libxfs.h>
-#include "slab.h"
#undef SLAB_DEBUG
@@ -1,12 +1,9 @@
// SPDX-License-Identifier: GPL-2.0
#include "libxfs.h"
-#include <pthread.h>
#include <signal.h>
#include "threads.h"
#include "err_protos.h"
-#include "protos.h"
-#include "globals.h"
void
thread_init(void)
@@ -4,11 +4,9 @@
* All Rights Reserved.
*/
-#include "libxfs.h"
#include "err_protos.h"
#include "globals.h"
-#include "versions.h"
/*
* filesystem feature global vars, set to 1 if the feature
@@ -8,16 +8,11 @@
#include "libxlog.h"
#include <sys/resource.h>
#include "xfs_multidisk.h"
-#include "avl.h"
-#include "avl64.h"
#include "globals.h"
#include "versions.h"
-#include "agheader.h"
#include "protos.h"
-#include "incore.h"
#include "err_protos.h"
#include "prefetch.h"
-#include "threads.h"
#include "progress.h"
#include "dinode.h"
#include "slab.h"
Signed-off-by: Eric Sandeen <sandeen@redhat.com> --- repair/agheader.c | 1 - repair/attr_repair.c | 4 ---- repair/btree.c | 1 - repair/da_util.c | 1 - repair/dino_chunks.c | 5 ----- repair/dinode.c | 7 ------- repair/dir2.c | 5 ----- repair/incore.c | 5 ----- repair/incore_bmc.c | 5 ----- repair/incore_ext.c | 5 ----- repair/incore_ino.c | 5 ----- repair/init.c | 6 ------ repair/phase1.c | 2 -- repair/phase2.c | 3 --- repair/phase3.c | 4 ---- repair/phase4.c | 5 ----- repair/phase5.c | 6 ------ repair/phase6.c | 5 ----- repair/phase7.c | 6 ------ repair/prefetch.c | 9 --------- repair/progress.c | 1 - repair/rmap.c | 2 -- repair/rt.c | 6 ------ repair/sb.c | 1 - repair/scan.c | 3 --- repair/slab.c | 1 - repair/threads.c | 3 --- repair/versions.c | 2 -- repair/xfs_repair.c | 5 ----- 29 files changed, 114 deletions(-)