Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

xfs: remove unused header files

There are many, many xfs header files which are included but
unneeded (or included twice) in the xfs code, so remove them.

nb: xfs_linux.h includes about 9 headers for everyone, so those
explicit includes get removed by this. I'm not sure what the
preference is, but if we wanted explicit includes everywhere,
a followup patch could remove those xfs_*.h includes from
xfs_linux.h and move them into the files that need them.
Or it could be left as-is.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>

authored by

Eric Sandeen and committed by
Darrick J. Wong
250d4b4c adfb5fb4

-570
-5
fs/xfs/kmem.c
··· 3 3 * Copyright (c) 2000-2005 Silicon Graphics, Inc. 4 4 * All Rights Reserved. 5 5 */ 6 - #include <linux/mm.h> 7 6 #include <linux/sched/mm.h> 8 - #include <linux/highmem.h> 9 - #include <linux/slab.h> 10 - #include <linux/swap.h> 11 - #include <linux/blkdev.h> 12 7 #include <linux/backing-dev.h> 13 8 #include "kmem.h" 14 9 #include "xfs_message.h"
-8
fs/xfs/libxfs/xfs_ag_resv.c
··· 9 9 #include "xfs_format.h" 10 10 #include "xfs_log_format.h" 11 11 #include "xfs_trans_resv.h" 12 - #include "xfs_sb.h" 13 12 #include "xfs_mount.h" 14 - #include "xfs_defer.h" 15 13 #include "xfs_alloc.h" 16 14 #include "xfs_errortag.h" 17 15 #include "xfs_error.h" 18 16 #include "xfs_trace.h" 19 - #include "xfs_cksum.h" 20 17 #include "xfs_trans.h" 21 - #include "xfs_bit.h" 22 - #include "xfs_bmap.h" 23 - #include "xfs_bmap_btree.h" 24 - #include "xfs_ag_resv.h" 25 - #include "xfs_trans_space.h" 26 18 #include "xfs_rmap_btree.h" 27 19 #include "xfs_btree.h" 28 20 #include "xfs_refcount_btree.h"
-2
fs/xfs/libxfs/xfs_alloc.c
··· 13 13 #include "xfs_sb.h" 14 14 #include "xfs_mount.h" 15 15 #include "xfs_defer.h" 16 - #include "xfs_inode.h" 17 16 #include "xfs_btree.h" 18 17 #include "xfs_rmap.h" 19 18 #include "xfs_alloc_btree.h" ··· 20 21 #include "xfs_extent_busy.h" 21 22 #include "xfs_errortag.h" 22 23 #include "xfs_error.h" 23 - #include "xfs_cksum.h" 24 24 #include "xfs_trace.h" 25 25 #include "xfs_trans.h" 26 26 #include "xfs_buf_item.h"
-1
fs/xfs/libxfs/xfs_alloc_btree.c
··· 17 17 #include "xfs_extent_busy.h" 18 18 #include "xfs_error.h" 19 19 #include "xfs_trace.h" 20 - #include "xfs_cksum.h" 21 20 #include "xfs_trans.h" 22 21 23 22
-5
fs/xfs/libxfs/xfs_attr.c
··· 9 9 #include "xfs_format.h" 10 10 #include "xfs_log_format.h" 11 11 #include "xfs_trans_resv.h" 12 - #include "xfs_bit.h" 13 12 #include "xfs_mount.h" 14 13 #include "xfs_defer.h" 15 14 #include "xfs_da_format.h" 16 15 #include "xfs_da_btree.h" 17 16 #include "xfs_attr_sf.h" 18 17 #include "xfs_inode.h" 19 - #include "xfs_alloc.h" 20 18 #include "xfs_trans.h" 21 - #include "xfs_inode_item.h" 22 19 #include "xfs_bmap.h" 23 - #include "xfs_bmap_util.h" 24 20 #include "xfs_bmap_btree.h" 25 21 #include "xfs_attr.h" 26 22 #include "xfs_attr_leaf.h" 27 23 #include "xfs_attr_remote.h" 28 - #include "xfs_error.h" 29 24 #include "xfs_quota.h" 30 25 #include "xfs_trans_space.h" 31 26 #include "xfs_trace.h"
-3
fs/xfs/libxfs/xfs_attr_leaf.c
··· 10 10 #include "xfs_format.h" 11 11 #include "xfs_log_format.h" 12 12 #include "xfs_trans_resv.h" 13 - #include "xfs_bit.h" 14 13 #include "xfs_sb.h" 15 14 #include "xfs_mount.h" 16 15 #include "xfs_da_format.h" 17 16 #include "xfs_da_btree.h" 18 17 #include "xfs_inode.h" 19 18 #include "xfs_trans.h" 20 - #include "xfs_inode_item.h" 21 19 #include "xfs_bmap_btree.h" 22 20 #include "xfs_bmap.h" 23 21 #include "xfs_attr_sf.h" ··· 25 27 #include "xfs_error.h" 26 28 #include "xfs_trace.h" 27 29 #include "xfs_buf_item.h" 28 - #include "xfs_cksum.h" 29 30 #include "xfs_dir2.h" 30 31 #include "xfs_log.h" 31 32
-8
fs/xfs/libxfs/xfs_attr_remote.c
··· 16 16 #include "xfs_da_format.h" 17 17 #include "xfs_da_btree.h" 18 18 #include "xfs_inode.h" 19 - #include "xfs_alloc.h" 20 19 #include "xfs_trans.h" 21 - #include "xfs_inode_item.h" 22 20 #include "xfs_bmap.h" 23 - #include "xfs_bmap_util.h" 24 21 #include "xfs_attr.h" 25 - #include "xfs_attr_leaf.h" 26 - #include "xfs_attr_remote.h" 27 - #include "xfs_trans_space.h" 28 22 #include "xfs_trace.h" 29 - #include "xfs_cksum.h" 30 - #include "xfs_buf_item.h" 31 23 #include "xfs_error.h" 32 24 33 25 #define ATTR_RMTVALUE_MAPSIZE 1 /* # of map entries at once */
-1
fs/xfs/libxfs/xfs_bit.c
··· 5 5 */ 6 6 #include "xfs.h" 7 7 #include "xfs_log_format.h" 8 - #include "xfs_bit.h" 9 8 10 9 /* 11 10 * XFS bit manipulation routines, used in non-realtime code.
-5
fs/xfs/libxfs/xfs_bmap.c
··· 13 13 #include "xfs_sb.h" 14 14 #include "xfs_mount.h" 15 15 #include "xfs_defer.h" 16 - #include "xfs_da_format.h" 17 - #include "xfs_da_btree.h" 18 16 #include "xfs_dir2.h" 19 17 #include "xfs_inode.h" 20 18 #include "xfs_btree.h" 21 19 #include "xfs_trans.h" 22 - #include "xfs_inode_item.h" 23 - #include "xfs_extfree_item.h" 24 20 #include "xfs_alloc.h" 25 21 #include "xfs_bmap.h" 26 22 #include "xfs_bmap_util.h" ··· 28 32 #include "xfs_trans_space.h" 29 33 #include "xfs_buf_item.h" 30 34 #include "xfs_trace.h" 31 - #include "xfs_symlink.h" 32 35 #include "xfs_attr_leaf.h" 33 36 #include "xfs_filestream.h" 34 37 #include "xfs_rmap.h"
-3
fs/xfs/libxfs/xfs_bmap_btree.c
··· 11 11 #include "xfs_trans_resv.h" 12 12 #include "xfs_bit.h" 13 13 #include "xfs_mount.h" 14 - #include "xfs_defer.h" 15 14 #include "xfs_inode.h" 16 15 #include "xfs_trans.h" 17 - #include "xfs_inode_item.h" 18 16 #include "xfs_alloc.h" 19 17 #include "xfs_btree.h" 20 18 #include "xfs_bmap_btree.h" ··· 20 22 #include "xfs_error.h" 21 23 #include "xfs_quota.h" 22 24 #include "xfs_trace.h" 23 - #include "xfs_cksum.h" 24 25 #include "xfs_rmap.h" 25 26 26 27 /*
-3
fs/xfs/libxfs/xfs_btree.c
··· 11 11 #include "xfs_trans_resv.h" 12 12 #include "xfs_bit.h" 13 13 #include "xfs_mount.h" 14 - #include "xfs_defer.h" 15 14 #include "xfs_inode.h" 16 15 #include "xfs_trans.h" 17 - #include "xfs_inode_item.h" 18 16 #include "xfs_buf_item.h" 19 17 #include "xfs_btree.h" 20 18 #include "xfs_errortag.h" 21 19 #include "xfs_error.h" 22 20 #include "xfs_trace.h" 23 - #include "xfs_cksum.h" 24 21 #include "xfs_alloc.h" 25 22 #include "xfs_log.h" 26 23
-6
fs/xfs/libxfs/xfs_da_btree.c
··· 12 12 #include "xfs_trans_resv.h" 13 13 #include "xfs_bit.h" 14 14 #include "xfs_mount.h" 15 - #include "xfs_da_format.h" 16 - #include "xfs_da_btree.h" 17 15 #include "xfs_dir2.h" 18 16 #include "xfs_dir2_priv.h" 19 17 #include "xfs_inode.h" 20 18 #include "xfs_trans.h" 21 - #include "xfs_inode_item.h" 22 - #include "xfs_alloc.h" 23 19 #include "xfs_bmap.h" 24 - #include "xfs_attr.h" 25 20 #include "xfs_attr_leaf.h" 26 21 #include "xfs_error.h" 27 22 #include "xfs_trace.h" 28 - #include "xfs_cksum.h" 29 23 #include "xfs_buf_item.h" 30 24 #include "xfs_log.h" 31 25
-3
fs/xfs/libxfs/xfs_da_format.c
··· 11 11 #include "xfs_log_format.h" 12 12 #include "xfs_trans_resv.h" 13 13 #include "xfs_mount.h" 14 - #include "xfs_da_format.h" 15 - #include "xfs_da_btree.h" 16 14 #include "xfs_inode.h" 17 15 #include "xfs_dir2.h" 18 - #include "xfs_dir2_priv.h" 19 16 20 17 /* 21 18 * Shortform directory ops
-2
fs/xfs/libxfs/xfs_defer.c
··· 9 9 #include "xfs_format.h" 10 10 #include "xfs_log_format.h" 11 11 #include "xfs_trans_resv.h" 12 - #include "xfs_bit.h" 13 - #include "xfs_sb.h" 14 12 #include "xfs_mount.h" 15 13 #include "xfs_defer.h" 16 14 #include "xfs_trans.h"
-5
fs/xfs/libxfs/xfs_dir2.c
··· 10 10 #include "xfs_log_format.h" 11 11 #include "xfs_trans_resv.h" 12 12 #include "xfs_mount.h" 13 - #include "xfs_defer.h" 14 - #include "xfs_da_format.h" 15 - #include "xfs_da_btree.h" 16 13 #include "xfs_inode.h" 17 14 #include "xfs_trans.h" 18 - #include "xfs_inode_item.h" 19 15 #include "xfs_bmap.h" 20 16 #include "xfs_dir2.h" 21 17 #include "xfs_dir2_priv.h" 22 - #include "xfs_ialloc.h" 23 18 #include "xfs_errortag.h" 24 19 #include "xfs_error.h" 25 20 #include "xfs_trace.h"
-4
fs/xfs/libxfs/xfs_dir2_block.c
··· 11 11 #include "xfs_log_format.h" 12 12 #include "xfs_trans_resv.h" 13 13 #include "xfs_mount.h" 14 - #include "xfs_da_format.h" 15 - #include "xfs_da_btree.h" 16 14 #include "xfs_inode.h" 17 15 #include "xfs_trans.h" 18 - #include "xfs_inode_item.h" 19 16 #include "xfs_bmap.h" 20 17 #include "xfs_buf_item.h" 21 18 #include "xfs_dir2.h" 22 19 #include "xfs_dir2_priv.h" 23 20 #include "xfs_error.h" 24 21 #include "xfs_trace.h" 25 - #include "xfs_cksum.h" 26 22 #include "xfs_log.h" 27 23 28 24 /*
-4
fs/xfs/libxfs/xfs_dir2_data.c
··· 11 11 #include "xfs_log_format.h" 12 12 #include "xfs_trans_resv.h" 13 13 #include "xfs_mount.h" 14 - #include "xfs_da_format.h" 15 - #include "xfs_da_btree.h" 16 14 #include "xfs_inode.h" 17 15 #include "xfs_dir2.h" 18 - #include "xfs_dir2_priv.h" 19 16 #include "xfs_error.h" 20 17 #include "xfs_trans.h" 21 18 #include "xfs_buf_item.h" 22 - #include "xfs_cksum.h" 23 19 #include "xfs_log.h" 24 20 25 21 static xfs_failaddr_t xfs_dir2_data_freefind_verify(
-4
fs/xfs/libxfs/xfs_dir2_leaf.c
··· 11 11 #include "xfs_log_format.h" 12 12 #include "xfs_trans_resv.h" 13 13 #include "xfs_mount.h" 14 - #include "xfs_da_format.h" 15 - #include "xfs_da_btree.h" 16 14 #include "xfs_inode.h" 17 15 #include "xfs_bmap.h" 18 16 #include "xfs_dir2.h" ··· 19 21 #include "xfs_trace.h" 20 22 #include "xfs_trans.h" 21 23 #include "xfs_buf_item.h" 22 - #include "xfs_cksum.h" 23 - #include "xfs_log.h" 24 24 25 25 /* 26 26 * Local function declarations.
-3
fs/xfs/libxfs/xfs_dir2_node.c
··· 11 11 #include "xfs_log_format.h" 12 12 #include "xfs_trans_resv.h" 13 13 #include "xfs_mount.h" 14 - #include "xfs_da_format.h" 15 - #include "xfs_da_btree.h" 16 14 #include "xfs_inode.h" 17 15 #include "xfs_bmap.h" 18 16 #include "xfs_dir2.h" ··· 19 21 #include "xfs_trace.h" 20 22 #include "xfs_trans.h" 21 23 #include "xfs_buf_item.h" 22 - #include "xfs_cksum.h" 23 24 #include "xfs_log.h" 24 25 25 26 /*
-4
fs/xfs/libxfs/xfs_dir2_sf.c
··· 10 10 #include "xfs_log_format.h" 11 11 #include "xfs_trans_resv.h" 12 12 #include "xfs_mount.h" 13 - #include "xfs_da_format.h" 14 - #include "xfs_da_btree.h" 15 13 #include "xfs_inode.h" 16 14 #include "xfs_trans.h" 17 - #include "xfs_inode_item.h" 18 - #include "xfs_error.h" 19 15 #include "xfs_dir2.h" 20 16 #include "xfs_dir2_priv.h" 21 17 #include "xfs_trace.h"
-2
fs/xfs/libxfs/xfs_dquot_buf.c
··· 16 16 #include "xfs_trans.h" 17 17 #include "xfs_qm.h" 18 18 #include "xfs_error.h" 19 - #include "xfs_cksum.h" 20 - #include "xfs_trace.h" 21 19 22 20 int 23 21 xfs_calc_dquots_per_chunk(
-3
fs/xfs/libxfs/xfs_ialloc.c
··· 12 12 #include "xfs_bit.h" 13 13 #include "xfs_sb.h" 14 14 #include "xfs_mount.h" 15 - #include "xfs_defer.h" 16 15 #include "xfs_inode.h" 17 16 #include "xfs_btree.h" 18 17 #include "xfs_ialloc.h" 19 18 #include "xfs_ialloc_btree.h" 20 19 #include "xfs_alloc.h" 21 - #include "xfs_rtalloc.h" 22 20 #include "xfs_errortag.h" 23 21 #include "xfs_error.h" 24 22 #include "xfs_bmap.h" 25 - #include "xfs_cksum.h" 26 23 #include "xfs_trans.h" 27 24 #include "xfs_buf_item.h" 28 25 #include "xfs_icreate_item.h"
-2
fs/xfs/libxfs/xfs_ialloc_btree.c
··· 11 11 #include "xfs_trans_resv.h" 12 12 #include "xfs_bit.h" 13 13 #include "xfs_mount.h" 14 - #include "xfs_inode.h" 15 14 #include "xfs_btree.h" 16 15 #include "xfs_ialloc.h" 17 16 #include "xfs_ialloc_btree.h" 18 17 #include "xfs_alloc.h" 19 18 #include "xfs_error.h" 20 19 #include "xfs_trace.h" 21 - #include "xfs_cksum.h" 22 20 #include "xfs_trans.h" 23 21 #include "xfs_rmap.h" 24 22
-5
fs/xfs/libxfs/xfs_iext_tree.c
··· 3 3 * Copyright (c) 2017 Christoph Hellwig. 4 4 */ 5 5 6 - #include <linux/cache.h> 7 - #include <linux/kernel.h> 8 - #include <linux/slab.h> 9 6 #include "xfs.h" 10 7 #include "xfs_shared.h" 11 8 #include "xfs_format.h" 12 9 #include "xfs_bit.h" 13 10 #include "xfs_log_format.h" 14 11 #include "xfs_inode.h" 15 - #include "xfs_inode_fork.h" 16 12 #include "xfs_trans_resv.h" 17 13 #include "xfs_mount.h" 18 - #include "xfs_bmap.h" 19 14 #include "xfs_trace.h" 20 15 21 16 /*
-2
fs/xfs/libxfs/xfs_inode_buf.c
··· 10 10 #include "xfs_log_format.h" 11 11 #include "xfs_trans_resv.h" 12 12 #include "xfs_mount.h" 13 - #include "xfs_defer.h" 14 13 #include "xfs_inode.h" 15 14 #include "xfs_errortag.h" 16 15 #include "xfs_error.h" 17 - #include "xfs_cksum.h" 18 16 #include "xfs_icache.h" 19 17 #include "xfs_trans.h" 20 18 #include "xfs_ialloc.h"
-3
fs/xfs/libxfs/xfs_inode_fork.c
··· 3 3 * Copyright (c) 2000-2006 Silicon Graphics, Inc. 4 4 * All Rights Reserved. 5 5 */ 6 - #include <linux/log2.h> 7 6 8 7 #include "xfs.h" 9 8 #include "xfs_fs.h" ··· 19 20 #include "xfs_bmap.h" 20 21 #include "xfs_error.h" 21 22 #include "xfs_trace.h" 22 - #include "xfs_attr_sf.h" 23 23 #include "xfs_da_format.h" 24 24 #include "xfs_da_btree.h" 25 25 #include "xfs_dir2_priv.h" 26 26 #include "xfs_attr_leaf.h" 27 - #include "xfs_shared.h" 28 27 29 28 kmem_zone_t *xfs_ifork_zone; 30 29
-2
fs/xfs/libxfs/xfs_log_rlimit.c
··· 12 12 #include "xfs_mount.h" 13 13 #include "xfs_da_format.h" 14 14 #include "xfs_trans_space.h" 15 - #include "xfs_inode.h" 16 15 #include "xfs_da_btree.h" 17 - #include "xfs_attr_leaf.h" 18 16 #include "xfs_bmap_btree.h" 19 17 20 18 /*
-2
fs/xfs/libxfs/xfs_refcount.c
··· 9 9 #include "xfs_format.h" 10 10 #include "xfs_log_format.h" 11 11 #include "xfs_trans_resv.h" 12 - #include "xfs_sb.h" 13 12 #include "xfs_mount.h" 14 13 #include "xfs_defer.h" 15 14 #include "xfs_btree.h" ··· 18 19 #include "xfs_errortag.h" 19 20 #include "xfs_error.h" 20 21 #include "xfs_trace.h" 21 - #include "xfs_cksum.h" 22 22 #include "xfs_trans.h" 23 23 #include "xfs_bit.h" 24 24 #include "xfs_refcount.h"
-2
fs/xfs/libxfs/xfs_refcount_btree.c
··· 12 12 #include "xfs_sb.h" 13 13 #include "xfs_mount.h" 14 14 #include "xfs_btree.h" 15 - #include "xfs_bmap.h" 16 15 #include "xfs_refcount_btree.h" 17 16 #include "xfs_alloc.h" 18 17 #include "xfs_error.h" 19 18 #include "xfs_trace.h" 20 - #include "xfs_cksum.h" 21 19 #include "xfs_trans.h" 22 20 #include "xfs_bit.h" 23 21 #include "xfs_rmap.h"
-7
fs/xfs/libxfs/xfs_rmap.c
··· 10 10 #include "xfs_log_format.h" 11 11 #include "xfs_trans_resv.h" 12 12 #include "xfs_bit.h" 13 - #include "xfs_sb.h" 14 13 #include "xfs_mount.h" 15 14 #include "xfs_defer.h" 16 - #include "xfs_da_format.h" 17 - #include "xfs_da_btree.h" 18 15 #include "xfs_btree.h" 19 16 #include "xfs_trans.h" 20 17 #include "xfs_alloc.h" 21 18 #include "xfs_rmap.h" 22 19 #include "xfs_rmap_btree.h" 23 - #include "xfs_trans_space.h" 24 20 #include "xfs_trace.h" 25 21 #include "xfs_errortag.h" 26 22 #include "xfs_error.h" 27 - #include "xfs_extent_busy.h" 28 - #include "xfs_bmap.h" 29 23 #include "xfs_inode.h" 30 - #include "xfs_ialloc.h" 31 24 32 25 /* 33 26 * Lookup the first record less than or equal to [bno, len, owner, offset]
-4
fs/xfs/libxfs/xfs_rmap_btree.c
··· 9 9 #include "xfs_format.h" 10 10 #include "xfs_log_format.h" 11 11 #include "xfs_trans_resv.h" 12 - #include "xfs_bit.h" 13 12 #include "xfs_sb.h" 14 13 #include "xfs_mount.h" 15 - #include "xfs_defer.h" 16 - #include "xfs_inode.h" 17 14 #include "xfs_trans.h" 18 15 #include "xfs_alloc.h" 19 16 #include "xfs_btree.h" 20 17 #include "xfs_rmap.h" 21 18 #include "xfs_rmap_btree.h" 22 19 #include "xfs_trace.h" 23 - #include "xfs_cksum.h" 24 20 #include "xfs_error.h" 25 21 #include "xfs_extent_busy.h" 26 22 #include "xfs_ag_resv.h"
-8
fs/xfs/libxfs/xfs_rtbitmap.c
··· 13 13 #include "xfs_mount.h" 14 14 #include "xfs_inode.h" 15 15 #include "xfs_bmap.h" 16 - #include "xfs_bmap_util.h" 17 - #include "xfs_bmap_btree.h" 18 - #include "xfs_alloc.h" 19 - #include "xfs_error.h" 20 16 #include "xfs_trans.h" 21 - #include "xfs_trans_space.h" 22 - #include "xfs_trace.h" 23 - #include "xfs_buf.h" 24 - #include "xfs_icache.h" 25 17 #include "xfs_rtalloc.h" 26 18 27 19
-7
fs/xfs/libxfs/xfs_sb.c
··· 10 10 #include "xfs_log_format.h" 11 11 #include "xfs_trans_resv.h" 12 12 #include "xfs_bit.h" 13 - #include "xfs_sb.h" 14 13 #include "xfs_mount.h" 15 - #include "xfs_defer.h" 16 - #include "xfs_inode.h" 17 14 #include "xfs_ialloc.h" 18 15 #include "xfs_alloc.h" 19 16 #include "xfs_error.h" 20 17 #include "xfs_trace.h" 21 - #include "xfs_cksum.h" 22 18 #include "xfs_trans.h" 23 19 #include "xfs_buf_item.h" 24 20 #include "xfs_bmap_btree.h" 25 21 #include "xfs_alloc_btree.h" 26 - #include "xfs_ialloc_btree.h" 27 22 #include "xfs_log.h" 28 23 #include "xfs_rmap_btree.h" 29 - #include "xfs_bmap.h" 30 24 #include "xfs_refcount_btree.h" 31 25 #include "xfs_da_format.h" 32 - #include "xfs_da_btree.h" 33 26 #include "xfs_health.h" 34 27 35 28 /*
-2
fs/xfs/libxfs/xfs_trans_resv.c
··· 15 15 #include "xfs_da_btree.h" 16 16 #include "xfs_inode.h" 17 17 #include "xfs_bmap_btree.h" 18 - #include "xfs_ialloc.h" 19 18 #include "xfs_quota.h" 20 19 #include "xfs_trans.h" 21 20 #include "xfs_qm.h" 22 21 #include "xfs_trans_space.h" 23 - #include "xfs_trace.h" 24 22 25 23 #define _ALLOC true 26 24 #define _FREE false
-9
fs/xfs/libxfs/xfs_types.c
··· 7 7 #include "xfs.h" 8 8 #include "xfs_fs.h" 9 9 #include "xfs_format.h" 10 - #include "xfs_log_format.h" 11 10 #include "xfs_shared.h" 12 11 #include "xfs_trans_resv.h" 13 12 #include "xfs_bit.h" 14 - #include "xfs_sb.h" 15 13 #include "xfs_mount.h" 16 - #include "xfs_defer.h" 17 - #include "xfs_inode.h" 18 - #include "xfs_btree.h" 19 - #include "xfs_rmap.h" 20 - #include "xfs_alloc_btree.h" 21 - #include "xfs_alloc.h" 22 - #include "xfs_ialloc.h" 23 14 24 15 /* Find the size of the AG, in blocks. */ 25 16 xfs_agblock_t
-7
fs/xfs/scrub/agheader.c
··· 9 9 #include "xfs_format.h" 10 10 #include "xfs_trans_resv.h" 11 11 #include "xfs_mount.h" 12 - #include "xfs_defer.h" 13 12 #include "xfs_btree.h" 14 - #include "xfs_bit.h" 15 - #include "xfs_log_format.h" 16 - #include "xfs_trans.h" 17 13 #include "xfs_sb.h" 18 - #include "xfs_inode.h" 19 14 #include "xfs_alloc.h" 20 15 #include "xfs_ialloc.h" 21 16 #include "xfs_rmap.h" 22 - #include "scrub/xfs_scrub.h" 23 17 #include "scrub/scrub.h" 24 18 #include "scrub/common.h" 25 - #include "scrub/trace.h" 26 19 27 20 /* Superblock */ 28 21
-5
fs/xfs/scrub/agheader_repair.c
··· 9 9 #include "xfs_format.h" 10 10 #include "xfs_trans_resv.h" 11 11 #include "xfs_mount.h" 12 - #include "xfs_defer.h" 13 12 #include "xfs_btree.h" 14 - #include "xfs_bit.h" 15 13 #include "xfs_log_format.h" 16 14 #include "xfs_trans.h" 17 15 #include "xfs_sb.h" 18 - #include "xfs_inode.h" 19 16 #include "xfs_alloc.h" 20 17 #include "xfs_alloc_btree.h" 21 18 #include "xfs_ialloc.h" 22 19 #include "xfs_ialloc_btree.h" 23 20 #include "xfs_rmap.h" 24 21 #include "xfs_rmap_btree.h" 25 - #include "xfs_refcount.h" 26 22 #include "xfs_refcount_btree.h" 27 - #include "scrub/xfs_scrub.h" 28 23 #include "scrub/scrub.h" 29 24 #include "scrub/common.h" 30 25 #include "scrub/trace.h"
-7
fs/xfs/scrub/alloc.c
··· 9 9 #include "xfs_format.h" 10 10 #include "xfs_trans_resv.h" 11 11 #include "xfs_mount.h" 12 - #include "xfs_defer.h" 13 12 #include "xfs_btree.h" 14 - #include "xfs_bit.h" 15 - #include "xfs_log_format.h" 16 - #include "xfs_trans.h" 17 - #include "xfs_sb.h" 18 13 #include "xfs_alloc.h" 19 14 #include "xfs_rmap.h" 20 - #include "scrub/xfs_scrub.h" 21 15 #include "scrub/scrub.h" 22 16 #include "scrub/common.h" 23 17 #include "scrub/btree.h" 24 - #include "scrub/trace.h" 25 18 26 19 /* 27 20 * Set us up to scrub free space btrees.
-10
fs/xfs/scrub/attr.c
··· 9 9 #include "xfs_format.h" 10 10 #include "xfs_trans_resv.h" 11 11 #include "xfs_mount.h" 12 - #include "xfs_defer.h" 13 - #include "xfs_btree.h" 14 - #include "xfs_bit.h" 15 12 #include "xfs_log_format.h" 16 - #include "xfs_trans.h" 17 - #include "xfs_sb.h" 18 13 #include "xfs_inode.h" 19 14 #include "xfs_da_format.h" 20 15 #include "xfs_da_btree.h" 21 - #include "xfs_dir2.h" 22 16 #include "xfs_attr.h" 23 17 #include "xfs_attr_leaf.h" 24 - #include "scrub/xfs_scrub.h" 25 18 #include "scrub/scrub.h" 26 19 #include "scrub/common.h" 27 20 #include "scrub/dabtree.h" 28 - #include "scrub/trace.h" 29 21 30 - #include <linux/posix_acl_xattr.h> 31 - #include <linux/xattr.h> 32 22 33 23 /* Set us up to scrub an inode's extended attributes. */ 34 24 int
-5
fs/xfs/scrub/bitmap.c
··· 10 10 #include "xfs_trans_resv.h" 11 11 #include "xfs_mount.h" 12 12 #include "xfs_btree.h" 13 - #include "scrub/xfs_scrub.h" 14 - #include "scrub/scrub.h" 15 - #include "scrub/common.h" 16 - #include "scrub/trace.h" 17 - #include "scrub/repair.h" 18 13 #include "scrub/bitmap.h" 19 14 20 15 /*
-8
fs/xfs/scrub/bmap.c
··· 9 9 #include "xfs_format.h" 10 10 #include "xfs_trans_resv.h" 11 11 #include "xfs_mount.h" 12 - #include "xfs_defer.h" 13 12 #include "xfs_btree.h" 14 13 #include "xfs_bit.h" 15 14 #include "xfs_log_format.h" 16 15 #include "xfs_trans.h" 17 - #include "xfs_sb.h" 18 16 #include "xfs_inode.h" 19 - #include "xfs_inode_fork.h" 20 17 #include "xfs_alloc.h" 21 - #include "xfs_rtalloc.h" 22 18 #include "xfs_bmap.h" 23 - #include "xfs_bmap_util.h" 24 19 #include "xfs_bmap_btree.h" 25 20 #include "xfs_rmap.h" 26 21 #include "xfs_rmap_btree.h" 27 - #include "xfs_refcount.h" 28 - #include "scrub/xfs_scrub.h" 29 22 #include "scrub/scrub.h" 30 23 #include "scrub/common.h" 31 24 #include "scrub/btree.h" 32 - #include "scrub/trace.h" 33 25 34 26 /* Set us up with an inode's bmap. */ 35 27 int
-7
fs/xfs/scrub/btree.c
··· 9 9 #include "xfs_format.h" 10 10 #include "xfs_trans_resv.h" 11 11 #include "xfs_mount.h" 12 - #include "xfs_defer.h" 13 12 #include "xfs_btree.h" 14 - #include "xfs_bit.h" 15 - #include "xfs_log_format.h" 16 - #include "xfs_trans.h" 17 - #include "xfs_sb.h" 18 - #include "xfs_inode.h" 19 - #include "xfs_alloc.h" 20 13 #include "scrub/scrub.h" 21 14 #include "scrub/common.h" 22 15 #include "scrub/btree.h"
-8
fs/xfs/scrub/common.c
··· 9 9 #include "xfs_format.h" 10 10 #include "xfs_trans_resv.h" 11 11 #include "xfs_mount.h" 12 - #include "xfs_defer.h" 13 12 #include "xfs_btree.h" 14 - #include "xfs_bit.h" 15 13 #include "xfs_log_format.h" 16 14 #include "xfs_trans.h" 17 15 #include "xfs_sb.h" 18 16 #include "xfs_inode.h" 19 17 #include "xfs_icache.h" 20 - #include "xfs_itable.h" 21 18 #include "xfs_alloc.h" 22 19 #include "xfs_alloc_btree.h" 23 - #include "xfs_bmap.h" 24 - #include "xfs_bmap_btree.h" 25 20 #include "xfs_ialloc.h" 26 21 #include "xfs_ialloc_btree.h" 27 - #include "xfs_refcount.h" 28 22 #include "xfs_refcount_btree.h" 29 23 #include "xfs_rmap.h" 30 24 #include "xfs_rmap_btree.h" ··· 26 32 #include "xfs_trans_priv.h" 27 33 #include "xfs_attr.h" 28 34 #include "xfs_reflink.h" 29 - #include "scrub/xfs_scrub.h" 30 35 #include "scrub/scrub.h" 31 36 #include "scrub/common.h" 32 37 #include "scrub/trace.h" 33 - #include "scrub/btree.h" 34 38 #include "scrub/repair.h" 35 39 #include "scrub/health.h" 36 40
-8
fs/xfs/scrub/dabtree.c
··· 9 9 #include "xfs_format.h" 10 10 #include "xfs_trans_resv.h" 11 11 #include "xfs_mount.h" 12 - #include "xfs_defer.h" 13 - #include "xfs_btree.h" 14 - #include "xfs_bit.h" 15 12 #include "xfs_log_format.h" 16 13 #include "xfs_trans.h" 17 - #include "xfs_sb.h" 18 14 #include "xfs_inode.h" 19 - #include "xfs_inode_fork.h" 20 - #include "xfs_da_format.h" 21 - #include "xfs_da_btree.h" 22 15 #include "xfs_dir2.h" 23 16 #include "xfs_dir2_priv.h" 24 17 #include "xfs_attr_leaf.h" 25 - #include "scrub/xfs_scrub.h" 26 18 #include "scrub/scrub.h" 27 19 #include "scrub/common.h" 28 20 #include "scrub/trace.h"
-10
fs/xfs/scrub/dir.c
··· 9 9 #include "xfs_format.h" 10 10 #include "xfs_trans_resv.h" 11 11 #include "xfs_mount.h" 12 - #include "xfs_defer.h" 13 - #include "xfs_btree.h" 14 - #include "xfs_bit.h" 15 12 #include "xfs_log_format.h" 16 13 #include "xfs_trans.h" 17 - #include "xfs_sb.h" 18 14 #include "xfs_inode.h" 19 15 #include "xfs_icache.h" 20 - #include "xfs_itable.h" 21 - #include "xfs_da_format.h" 22 - #include "xfs_da_btree.h" 23 16 #include "xfs_dir2.h" 24 17 #include "xfs_dir2_priv.h" 25 - #include "xfs_ialloc.h" 26 - #include "scrub/xfs_scrub.h" 27 18 #include "scrub/scrub.h" 28 19 #include "scrub/common.h" 29 - #include "scrub/trace.h" 30 20 #include "scrub/dabtree.h" 31 21 32 22 /* Set us up to scrub directories. */
-12
fs/xfs/scrub/fscounters.c
··· 9 9 #include "xfs_format.h" 10 10 #include "xfs_trans_resv.h" 11 11 #include "xfs_mount.h" 12 - #include "xfs_defer.h" 13 - #include "xfs_btree.h" 14 - #include "xfs_bit.h" 15 - #include "xfs_log_format.h" 16 - #include "xfs_trans.h" 17 12 #include "xfs_sb.h" 18 - #include "xfs_inode.h" 19 13 #include "xfs_alloc.h" 20 14 #include "xfs_ialloc.h" 21 - #include "xfs_rmap.h" 22 - #include "xfs_error.h" 23 - #include "xfs_errortag.h" 24 - #include "xfs_icache.h" 25 15 #include "xfs_health.h" 26 - #include "xfs_bmap.h" 27 - #include "scrub/xfs_scrub.h" 28 16 #include "scrub/scrub.h" 29 17 #include "scrub/common.h" 30 18 #include "scrub/trace.h"
-8
fs/xfs/scrub/health.c
··· 7 7 #include "xfs_fs.h" 8 8 #include "xfs_shared.h" 9 9 #include "xfs_format.h" 10 - #include "xfs_trans_resv.h" 11 - #include "xfs_mount.h" 12 - #include "xfs_defer.h" 13 10 #include "xfs_btree.h" 14 - #include "xfs_bit.h" 15 - #include "xfs_log_format.h" 16 - #include "xfs_trans.h" 17 11 #include "xfs_sb.h" 18 - #include "xfs_inode.h" 19 12 #include "xfs_health.h" 20 13 #include "scrub/scrub.h" 21 - #include "scrub/health.h" 22 14 23 15 /* 24 16 * Scrub and In-Core Filesystem Health Assessments
-7
fs/xfs/scrub/ialloc.c
··· 9 9 #include "xfs_format.h" 10 10 #include "xfs_trans_resv.h" 11 11 #include "xfs_mount.h" 12 - #include "xfs_defer.h" 13 12 #include "xfs_btree.h" 14 - #include "xfs_bit.h" 15 13 #include "xfs_log_format.h" 16 14 #include "xfs_trans.h" 17 - #include "xfs_sb.h" 18 15 #include "xfs_inode.h" 19 - #include "xfs_alloc.h" 20 16 #include "xfs_ialloc.h" 21 17 #include "xfs_ialloc_btree.h" 22 18 #include "xfs_icache.h" 23 19 #include "xfs_rmap.h" 24 - #include "xfs_log.h" 25 - #include "xfs_trans_priv.h" 26 - #include "scrub/xfs_scrub.h" 27 20 #include "scrub/scrub.h" 28 21 #include "scrub/common.h" 29 22 #include "scrub/btree.h"
-10
fs/xfs/scrub/inode.c
··· 9 9 #include "xfs_format.h" 10 10 #include "xfs_trans_resv.h" 11 11 #include "xfs_mount.h" 12 - #include "xfs_defer.h" 13 12 #include "xfs_btree.h" 14 - #include "xfs_bit.h" 15 13 #include "xfs_log_format.h" 16 - #include "xfs_trans.h" 17 - #include "xfs_sb.h" 18 14 #include "xfs_inode.h" 19 - #include "xfs_icache.h" 20 - #include "xfs_inode_buf.h" 21 - #include "xfs_inode_fork.h" 22 15 #include "xfs_ialloc.h" 23 16 #include "xfs_da_format.h" 24 17 #include "xfs_reflink.h" 25 18 #include "xfs_rmap.h" 26 - #include "xfs_bmap.h" 27 19 #include "xfs_bmap_util.h" 28 - #include "scrub/xfs_scrub.h" 29 20 #include "scrub/scrub.h" 30 21 #include "scrub/common.h" 31 22 #include "scrub/btree.h" 32 - #include "scrub/trace.h" 33 23 34 24 /* 35 25 * Grab total control of the inode metadata. It doesn't matter here if
-8
fs/xfs/scrub/parent.c
··· 9 9 #include "xfs_format.h" 10 10 #include "xfs_trans_resv.h" 11 11 #include "xfs_mount.h" 12 - #include "xfs_defer.h" 13 - #include "xfs_btree.h" 14 - #include "xfs_bit.h" 15 12 #include "xfs_log_format.h" 16 - #include "xfs_trans.h" 17 - #include "xfs_sb.h" 18 13 #include "xfs_inode.h" 19 14 #include "xfs_icache.h" 20 15 #include "xfs_dir2.h" 21 16 #include "xfs_dir2_priv.h" 22 - #include "xfs_ialloc.h" 23 - #include "scrub/xfs_scrub.h" 24 17 #include "scrub/scrub.h" 25 18 #include "scrub/common.h" 26 - #include "scrub/trace.h" 27 19 28 20 /* Set us up to scrub parents. */ 29 21 int
-11
fs/xfs/scrub/quota.c
··· 9 9 #include "xfs_format.h" 10 10 #include "xfs_trans_resv.h" 11 11 #include "xfs_mount.h" 12 - #include "xfs_defer.h" 13 - #include "xfs_btree.h" 14 - #include "xfs_bit.h" 15 12 #include "xfs_log_format.h" 16 13 #include "xfs_trans.h" 17 - #include "xfs_sb.h" 18 14 #include "xfs_inode.h" 19 - #include "xfs_inode_fork.h" 20 - #include "xfs_alloc.h" 21 - #include "xfs_bmap.h" 22 15 #include "xfs_quota.h" 23 16 #include "xfs_qm.h" 24 - #include "xfs_dquot.h" 25 - #include "xfs_dquot_item.h" 26 - #include "scrub/xfs_scrub.h" 27 17 #include "scrub/scrub.h" 28 18 #include "scrub/common.h" 29 - #include "scrub/trace.h" 30 19 31 20 /* Convert a scrub type code to a DQ flag, or return 0 if error. */ 32 21 static inline uint
-10
fs/xfs/scrub/refcount.c
··· 7 7 #include "xfs_fs.h" 8 8 #include "xfs_shared.h" 9 9 #include "xfs_format.h" 10 - #include "xfs_trans_resv.h" 11 - #include "xfs_mount.h" 12 - #include "xfs_defer.h" 13 10 #include "xfs_btree.h" 14 - #include "xfs_bit.h" 15 - #include "xfs_log_format.h" 16 - #include "xfs_trans.h" 17 - #include "xfs_sb.h" 18 - #include "xfs_alloc.h" 19 11 #include "xfs_rmap.h" 20 12 #include "xfs_refcount.h" 21 - #include "scrub/xfs_scrub.h" 22 13 #include "scrub/scrub.h" 23 14 #include "scrub/common.h" 24 15 #include "scrub/btree.h" 25 - #include "scrub/trace.h" 26 16 27 17 /* 28 18 * Set us up to scrub reference count btrees.
-8
fs/xfs/scrub/repair.c
··· 9 9 #include "xfs_format.h" 10 10 #include "xfs_trans_resv.h" 11 11 #include "xfs_mount.h" 12 - #include "xfs_defer.h" 13 12 #include "xfs_btree.h" 14 - #include "xfs_bit.h" 15 13 #include "xfs_log_format.h" 16 14 #include "xfs_trans.h" 17 15 #include "xfs_sb.h" 18 16 #include "xfs_inode.h" 19 - #include "xfs_icache.h" 20 17 #include "xfs_alloc.h" 21 18 #include "xfs_alloc_btree.h" 22 19 #include "xfs_ialloc.h" 23 20 #include "xfs_ialloc_btree.h" 24 21 #include "xfs_rmap.h" 25 22 #include "xfs_rmap_btree.h" 26 - #include "xfs_refcount.h" 27 23 #include "xfs_refcount_btree.h" 28 24 #include "xfs_extent_busy.h" 29 25 #include "xfs_ag_resv.h" 30 - #include "xfs_trans_space.h" 31 26 #include "xfs_quota.h" 32 - #include "xfs_attr.h" 33 - #include "xfs_reflink.h" 34 - #include "scrub/xfs_scrub.h" 35 27 #include "scrub/scrub.h" 36 28 #include "scrub/common.h" 37 29 #include "scrub/trace.h"
-9
fs/xfs/scrub/rmap.c
··· 9 9 #include "xfs_format.h" 10 10 #include "xfs_trans_resv.h" 11 11 #include "xfs_mount.h" 12 - #include "xfs_defer.h" 13 12 #include "xfs_btree.h" 14 - #include "xfs_bit.h" 15 - #include "xfs_log_format.h" 16 - #include "xfs_trans.h" 17 - #include "xfs_sb.h" 18 - #include "xfs_alloc.h" 19 - #include "xfs_ialloc.h" 20 13 #include "xfs_rmap.h" 21 14 #include "xfs_refcount.h" 22 - #include "scrub/xfs_scrub.h" 23 15 #include "scrub/scrub.h" 24 16 #include "scrub/common.h" 25 17 #include "scrub/btree.h" 26 - #include "scrub/trace.h" 27 18 28 19 /* 29 20 * Set us up to scrub reverse mapping btrees.
-7
fs/xfs/scrub/rtbitmap.c
··· 9 9 #include "xfs_format.h" 10 10 #include "xfs_trans_resv.h" 11 11 #include "xfs_mount.h" 12 - #include "xfs_defer.h" 13 - #include "xfs_btree.h" 14 - #include "xfs_bit.h" 15 12 #include "xfs_log_format.h" 16 13 #include "xfs_trans.h" 17 - #include "xfs_sb.h" 18 - #include "xfs_alloc.h" 19 14 #include "xfs_rtalloc.h" 20 15 #include "xfs_inode.h" 21 - #include "scrub/xfs_scrub.h" 22 16 #include "scrub/scrub.h" 23 17 #include "scrub/common.h" 24 - #include "scrub/trace.h" 25 18 26 19 /* Set us up with the realtime metadata locked. */ 27 20 int
-20
fs/xfs/scrub/scrub.c
··· 9 9 #include "xfs_format.h" 10 10 #include "xfs_trans_resv.h" 11 11 #include "xfs_mount.h" 12 - #include "xfs_defer.h" 13 - #include "xfs_btree.h" 14 - #include "xfs_bit.h" 15 12 #include "xfs_log_format.h" 16 13 #include "xfs_trans.h" 17 - #include "xfs_sb.h" 18 14 #include "xfs_inode.h" 19 - #include "xfs_icache.h" 20 - #include "xfs_itable.h" 21 - #include "xfs_alloc.h" 22 - #include "xfs_alloc_btree.h" 23 - #include "xfs_bmap.h" 24 - #include "xfs_bmap_btree.h" 25 - #include "xfs_ialloc.h" 26 - #include "xfs_ialloc_btree.h" 27 - #include "xfs_refcount.h" 28 - #include "xfs_refcount_btree.h" 29 - #include "xfs_rmap.h" 30 - #include "xfs_rmap_btree.h" 31 15 #include "xfs_quota.h" 32 16 #include "xfs_qm.h" 33 17 #include "xfs_errortag.h" 34 18 #include "xfs_error.h" 35 - #include "xfs_log.h" 36 - #include "xfs_trans_priv.h" 37 - #include "scrub/xfs_scrub.h" 38 19 #include "scrub/scrub.h" 39 20 #include "scrub/common.h" 40 21 #include "scrub/trace.h" 41 - #include "scrub/btree.h" 42 22 #include "scrub/repair.h" 43 23 #include "scrub/health.h" 44 24
-8
fs/xfs/scrub/symlink.c
··· 9 9 #include "xfs_format.h" 10 10 #include "xfs_trans_resv.h" 11 11 #include "xfs_mount.h" 12 - #include "xfs_defer.h" 13 - #include "xfs_btree.h" 14 - #include "xfs_bit.h" 15 12 #include "xfs_log_format.h" 16 - #include "xfs_trans.h" 17 - #include "xfs_sb.h" 18 13 #include "xfs_inode.h" 19 - #include "xfs_inode_fork.h" 20 14 #include "xfs_symlink.h" 21 - #include "scrub/xfs_scrub.h" 22 15 #include "scrub/scrub.h" 23 16 #include "scrub/common.h" 24 - #include "scrub/trace.h" 25 17 26 18 /* Set us up to scrub a symbolic link. */ 27 19 int
-6
fs/xfs/scrub/trace.c
··· 10 10 #include "xfs_log_format.h" 11 11 #include "xfs_trans_resv.h" 12 12 #include "xfs_mount.h" 13 - #include "xfs_defer.h" 14 - #include "xfs_da_format.h" 15 13 #include "xfs_inode.h" 16 14 #include "xfs_btree.h" 17 - #include "xfs_trans.h" 18 - #include "xfs_bit.h" 19 - #include "scrub/xfs_scrub.h" 20 15 #include "scrub/scrub.h" 21 - #include "scrub/common.h" 22 16 23 17 /* Figure out which block the btree cursor was pointing to. */ 24 18 static inline xfs_fsblock_t
-3
fs/xfs/xfs_acl.c
··· 10 10 #include "xfs_trans_resv.h" 11 11 #include "xfs_mount.h" 12 12 #include "xfs_inode.h" 13 - #include "xfs_acl.h" 14 13 #include "xfs_attr.h" 15 14 #include "xfs_trace.h" 16 - #include <linux/slab.h> 17 - #include <linux/xattr.h> 18 15 #include <linux/posix_acl_xattr.h> 19 16 20 17
-5
fs/xfs/xfs_aops.c
··· 12 12 #include "xfs_mount.h" 13 13 #include "xfs_inode.h" 14 14 #include "xfs_trans.h" 15 - #include "xfs_inode_item.h" 16 - #include "xfs_alloc.h" 17 - #include "xfs_error.h" 18 15 #include "xfs_iomap.h" 19 16 #include "xfs_trace.h" 20 17 #include "xfs_bmap.h" 21 18 #include "xfs_bmap_util.h" 22 - #include "xfs_bmap_btree.h" 23 19 #include "xfs_reflink.h" 24 - #include <linux/writeback.h> 25 20 26 21 /* 27 22 * structure owned by writepages passed to individual writepage calls
-5
fs/xfs/xfs_attr_inactive.c
··· 15 15 #include "xfs_da_format.h" 16 16 #include "xfs_da_btree.h" 17 17 #include "xfs_inode.h" 18 - #include "xfs_alloc.h" 19 18 #include "xfs_attr_remote.h" 20 19 #include "xfs_trans.h" 21 - #include "xfs_inode_item.h" 22 20 #include "xfs_bmap.h" 23 21 #include "xfs_attr.h" 24 22 #include "xfs_attr_leaf.h" 25 - #include "xfs_error.h" 26 23 #include "xfs_quota.h" 27 - #include "xfs_trace.h" 28 24 #include "xfs_dir2.h" 29 - #include "xfs_defer.h" 30 25 31 26 /* 32 27 * Look at all the extents for this logical region,
-6
fs/xfs/xfs_attr_list.c
··· 10 10 #include "xfs_format.h" 11 11 #include "xfs_log_format.h" 12 12 #include "xfs_trans_resv.h" 13 - #include "xfs_bit.h" 14 13 #include "xfs_mount.h" 15 14 #include "xfs_da_format.h" 16 - #include "xfs_da_btree.h" 17 15 #include "xfs_inode.h" 18 16 #include "xfs_trans.h" 19 - #include "xfs_inode_item.h" 20 17 #include "xfs_bmap.h" 21 18 #include "xfs_attr.h" 22 19 #include "xfs_attr_sf.h" 23 - #include "xfs_attr_remote.h" 24 20 #include "xfs_attr_leaf.h" 25 21 #include "xfs_error.h" 26 22 #include "xfs_trace.h" 27 - #include "xfs_buf_item.h" 28 - #include "xfs_cksum.h" 29 23 #include "xfs_dir2.h" 30 24 31 25 STATIC int
-2
fs/xfs/xfs_bmap_item.c
··· 15 15 #include "xfs_inode.h" 16 16 #include "xfs_trans.h" 17 17 #include "xfs_trans_priv.h" 18 - #include "xfs_buf_item.h" 19 18 #include "xfs_bmap_item.h" 20 19 #include "xfs_log.h" 21 20 #include "xfs_bmap.h" 22 21 #include "xfs_icache.h" 23 - #include "xfs_trace.h" 24 22 #include "xfs_bmap_btree.h" 25 23 #include "xfs_trans_space.h" 26 24
-5
fs/xfs/xfs_bmap_util.c
··· 12 12 #include "xfs_trans_resv.h" 13 13 #include "xfs_bit.h" 14 14 #include "xfs_mount.h" 15 - #include "xfs_da_format.h" 16 15 #include "xfs_defer.h" 17 16 #include "xfs_inode.h" 18 17 #include "xfs_btree.h" 19 18 #include "xfs_trans.h" 20 - #include "xfs_extfree_item.h" 21 19 #include "xfs_alloc.h" 22 20 #include "xfs_bmap.h" 23 21 #include "xfs_bmap_util.h" ··· 26 28 #include "xfs_trans_space.h" 27 29 #include "xfs_trace.h" 28 30 #include "xfs_icache.h" 29 - #include "xfs_log.h" 30 - #include "xfs_rmap_btree.h" 31 31 #include "xfs_iomap.h" 32 32 #include "xfs_reflink.h" 33 - #include "xfs_refcount.h" 34 33 35 34 /* Kernel only BMAP related definitions and functions */ 36 35
-16
fs/xfs/xfs_buf.c
··· 4 4 * All Rights Reserved. 5 5 */ 6 6 #include "xfs.h" 7 - #include <linux/stddef.h> 8 - #include <linux/errno.h> 9 - #include <linux/gfp.h> 10 - #include <linux/pagemap.h> 11 - #include <linux/init.h> 12 - #include <linux/vmalloc.h> 13 - #include <linux/bio.h> 14 - #include <linux/sysctl.h> 15 - #include <linux/proc_fs.h> 16 - #include <linux/workqueue.h> 17 - #include <linux/percpu.h> 18 - #include <linux/blkdev.h> 19 - #include <linux/hash.h> 20 - #include <linux/kthread.h> 21 - #include <linux/migrate.h> 22 7 #include <linux/backing-dev.h> 23 - #include <linux/freezer.h> 24 8 25 9 #include "xfs_shared.h" 26 10 #include "xfs_format.h"
-3
fs/xfs/xfs_buf_item.c
··· 10 10 #include "xfs_log_format.h" 11 11 #include "xfs_trans_resv.h" 12 12 #include "xfs_bit.h" 13 - #include "xfs_sb.h" 14 13 #include "xfs_mount.h" 15 14 #include "xfs_trans.h" 16 15 #include "xfs_buf_item.h" 17 16 #include "xfs_trans_priv.h" 18 - #include "xfs_error.h" 19 17 #include "xfs_trace.h" 20 18 #include "xfs_log.h" 21 - #include "xfs_inode.h" 22 19 23 20 24 21 kmem_zone_t *xfs_buf_item_zone;
-4
fs/xfs/xfs_dir2_readdir.c
··· 10 10 #include "xfs_format.h" 11 11 #include "xfs_log_format.h" 12 12 #include "xfs_trans_resv.h" 13 - #include "xfs_bit.h" 14 13 #include "xfs_mount.h" 15 - #include "xfs_da_format.h" 16 - #include "xfs_da_btree.h" 17 14 #include "xfs_inode.h" 18 15 #include "xfs_dir2.h" 19 16 #include "xfs_dir2_priv.h" 20 - #include "xfs_error.h" 21 17 #include "xfs_trace.h" 22 18 #include "xfs_bmap.h" 23 19 #include "xfs_trans.h"
-3
fs/xfs/xfs_discard.c
··· 10 10 #include "xfs_trans_resv.h" 11 11 #include "xfs_sb.h" 12 12 #include "xfs_mount.h" 13 - #include "xfs_quota.h" 14 - #include "xfs_inode.h" 15 13 #include "xfs_btree.h" 16 14 #include "xfs_alloc_btree.h" 17 15 #include "xfs_alloc.h" 18 16 #include "xfs_error.h" 19 17 #include "xfs_extent_busy.h" 20 - #include "xfs_discard.h" 21 18 #include "xfs_trace.h" 22 19 #include "xfs_log.h" 23 20
-4
fs/xfs/xfs_dquot.c
··· 14 14 #include "xfs_defer.h" 15 15 #include "xfs_inode.h" 16 16 #include "xfs_bmap.h" 17 - #include "xfs_bmap_util.h" 18 - #include "xfs_alloc.h" 19 17 #include "xfs_quota.h" 20 - #include "xfs_error.h" 21 18 #include "xfs_trans.h" 22 19 #include "xfs_buf_item.h" 23 20 #include "xfs_trans_space.h" 24 21 #include "xfs_trans_priv.h" 25 22 #include "xfs_qm.h" 26 - #include "xfs_cksum.h" 27 23 #include "xfs_trace.h" 28 24 #include "xfs_log.h" 29 25 #include "xfs_bmap_btree.h"
-1
fs/xfs/xfs_dquot_item.c
··· 12 12 #include "xfs_mount.h" 13 13 #include "xfs_inode.h" 14 14 #include "xfs_quota.h" 15 - #include "xfs_error.h" 16 15 #include "xfs_trans.h" 17 16 #include "xfs_buf_item.h" 18 17 #include "xfs_trans_priv.h"
-3
fs/xfs/xfs_export.c
··· 9 9 #include "xfs_log_format.h" 10 10 #include "xfs_trans_resv.h" 11 11 #include "xfs_mount.h" 12 - #include "xfs_da_format.h" 13 - #include "xfs_da_btree.h" 14 12 #include "xfs_dir2.h" 15 13 #include "xfs_export.h" 16 14 #include "xfs_inode.h" 17 15 #include "xfs_trans.h" 18 16 #include "xfs_inode_item.h" 19 - #include "xfs_trace.h" 20 17 #include "xfs_icache.h" 21 18 #include "xfs_log.h" 22 19 #include "xfs_pnfs.h"
-1
fs/xfs/xfs_extfree_item.c
··· 14 14 #include "xfs_defer.h" 15 15 #include "xfs_trans.h" 16 16 #include "xfs_trans_priv.h" 17 - #include "xfs_buf_item.h" 18 17 #include "xfs_extfree_item.h" 19 18 #include "xfs_log.h" 20 19 #include "xfs_btree.h"
-5
fs/xfs/xfs_file.c
··· 10 10 #include "xfs_log_format.h" 11 11 #include "xfs_trans_resv.h" 12 12 #include "xfs_mount.h" 13 - #include "xfs_da_format.h" 14 - #include "xfs_da_btree.h" 15 13 #include "xfs_inode.h" 16 14 #include "xfs_trans.h" 17 15 #include "xfs_inode_item.h" 18 16 #include "xfs_bmap.h" 19 17 #include "xfs_bmap_util.h" 20 - #include "xfs_error.h" 21 18 #include "xfs_dir2.h" 22 19 #include "xfs_dir2_priv.h" 23 20 #include "xfs_ioctl.h" ··· 25 28 #include "xfs_iomap.h" 26 29 #include "xfs_reflink.h" 27 30 28 - #include <linux/dcache.h> 29 31 #include <linux/falloc.h> 30 - #include <linux/pagevec.h> 31 32 #include <linux/backing-dev.h> 32 33 #include <linux/mman.h> 33 34
-4
fs/xfs/xfs_filestream.c
··· 11 11 #include "xfs_trans_resv.h" 12 12 #include "xfs_sb.h" 13 13 #include "xfs_mount.h" 14 - #include "xfs_defer.h" 15 14 #include "xfs_inode.h" 16 15 #include "xfs_bmap.h" 17 - #include "xfs_bmap_util.h" 18 16 #include "xfs_alloc.h" 19 17 #include "xfs_mru_cache.h" 20 - #include "xfs_filestream.h" 21 18 #include "xfs_trace.h" 22 19 #include "xfs_ag_resv.h" 23 20 #include "xfs_trans.h" 24 - #include "xfs_shared.h" 25 21 26 22 struct xfs_fstrm_item { 27 23 struct xfs_mru_cache_elem mru;
-4
fs/xfs/xfs_fsmap.c
··· 9 9 #include "xfs_format.h" 10 10 #include "xfs_log_format.h" 11 11 #include "xfs_trans_resv.h" 12 - #include "xfs_sb.h" 13 12 #include "xfs_mount.h" 14 - #include "xfs_defer.h" 15 13 #include "xfs_inode.h" 16 14 #include "xfs_trans.h" 17 - #include "xfs_error.h" 18 15 #include "xfs_btree.h" 19 16 #include "xfs_rmap_btree.h" 20 17 #include "xfs_trace.h" 21 - #include "xfs_log.h" 22 18 #include "xfs_rmap.h" 23 19 #include "xfs_alloc.h" 24 20 #include "xfs_bit.h"
-4
fs/xfs/xfs_fsops.c
··· 11 11 #include "xfs_trans_resv.h" 12 12 #include "xfs_sb.h" 13 13 #include "xfs_mount.h" 14 - #include "xfs_defer.h" 15 14 #include "xfs_trans.h" 16 15 #include "xfs_error.h" 17 - #include "xfs_btree.h" 18 16 #include "xfs_alloc.h" 19 17 #include "xfs_fsops.h" 20 18 #include "xfs_trans_space.h" 21 - #include "xfs_rtalloc.h" 22 - #include "xfs_trace.h" 23 19 #include "xfs_log.h" 24 20 #include "xfs_ag.h" 25 21 #include "xfs_ag_resv.h"
-1
fs/xfs/xfs_globals.c
··· 4 4 * All Rights Reserved. 5 5 */ 6 6 #include "xfs.h" 7 - #include "xfs_sysctl.h" 8 7 9 8 /* 10 9 * Tunable XFS parameters. xfs_params is required even when CONFIG_SYSCTL=n,
-4
fs/xfs/xfs_health.c
··· 9 9 #include "xfs_format.h" 10 10 #include "xfs_log_format.h" 11 11 #include "xfs_trans_resv.h" 12 - #include "xfs_bit.h" 13 12 #include "xfs_sb.h" 14 13 #include "xfs_mount.h" 15 - #include "xfs_defer.h" 16 - #include "xfs_da_format.h" 17 - #include "xfs_da_btree.h" 18 14 #include "xfs_inode.h" 19 15 #include "xfs_trace.h" 20 16 #include "xfs_health.h"
-3
fs/xfs/xfs_icache.c
··· 12 12 #include "xfs_sb.h" 13 13 #include "xfs_mount.h" 14 14 #include "xfs_inode.h" 15 - #include "xfs_error.h" 16 15 #include "xfs_trans.h" 17 16 #include "xfs_trans_priv.h" 18 17 #include "xfs_inode_item.h" ··· 23 24 #include "xfs_dquot.h" 24 25 #include "xfs_reflink.h" 25 26 26 - #include <linux/kthread.h> 27 - #include <linux/freezer.h> 28 27 #include <linux/iversion.h> 29 28 30 29 /*
-5
fs/xfs/xfs_icreate_item.c
··· 6 6 #include "xfs.h" 7 7 #include "xfs_fs.h" 8 8 #include "xfs_shared.h" 9 - #include "xfs_format.h" 10 9 #include "xfs_log_format.h" 11 - #include "xfs_trans_resv.h" 12 - #include "xfs_bit.h" 13 - #include "xfs_mount.h" 14 10 #include "xfs_trans.h" 15 11 #include "xfs_trans_priv.h" 16 - #include "xfs_error.h" 17 12 #include "xfs_icreate_item.h" 18 13 #include "xfs_log.h" 19 14
-6
fs/xfs/xfs_inode.c
··· 3 3 * Copyright (c) 2000-2006 Silicon Graphics, Inc. 4 4 * All Rights Reserved. 5 5 */ 6 - #include <linux/log2.h> 7 6 #include <linux/iversion.h> 8 7 9 8 #include "xfs.h" ··· 15 16 #include "xfs_mount.h" 16 17 #include "xfs_defer.h" 17 18 #include "xfs_inode.h" 18 - #include "xfs_da_format.h" 19 - #include "xfs_da_btree.h" 20 19 #include "xfs_dir2.h" 21 - #include "xfs_attr_sf.h" 22 20 #include "xfs_attr.h" 23 21 #include "xfs_trans_space.h" 24 22 #include "xfs_trans.h" ··· 28 32 #include "xfs_error.h" 29 33 #include "xfs_quota.h" 30 34 #include "xfs_filestream.h" 31 - #include "xfs_cksum.h" 32 35 #include "xfs_trace.h" 33 36 #include "xfs_icache.h" 34 37 #include "xfs_symlink.h" ··· 35 40 #include "xfs_log.h" 36 41 #include "xfs_bmap_btree.h" 37 42 #include "xfs_reflink.h" 38 - #include "xfs_dir2_priv.h" 39 43 40 44 kmem_zone_t *xfs_inode_zone; 41 45
-1
fs/xfs/xfs_inode_item.c
··· 13 13 #include "xfs_inode.h" 14 14 #include "xfs_trans.h" 15 15 #include "xfs_inode_item.h" 16 - #include "xfs_error.h" 17 16 #include "xfs_trace.h" 18 17 #include "xfs_trans_priv.h" 19 18 #include "xfs_buf_item.h"
-9
fs/xfs/xfs_ioctl.c
··· 11 11 #include "xfs_trans_resv.h" 12 12 #include "xfs_mount.h" 13 13 #include "xfs_inode.h" 14 - #include "xfs_ioctl.h" 15 - #include "xfs_alloc.h" 16 14 #include "xfs_rtalloc.h" 17 15 #include "xfs_itable.h" 18 16 #include "xfs_error.h" ··· 23 25 #include "xfs_export.h" 24 26 #include "xfs_trace.h" 25 27 #include "xfs_icache.h" 26 - #include "xfs_symlink.h" 27 28 #include "xfs_trans.h" 28 29 #include "xfs_acl.h" 29 30 #include "xfs_btree.h" ··· 33 36 #include "xfs_ag.h" 34 37 #include "xfs_health.h" 35 38 36 - #include <linux/capability.h> 37 - #include <linux/cred.h> 38 - #include <linux/dcache.h> 39 39 #include <linux/mount.h> 40 40 #include <linux/namei.h> 41 - #include <linux/pagemap.h> 42 - #include <linux/slab.h> 43 - #include <linux/exportfs.h> 44 41 45 42 /* 46 43 * xfs_find_handle maps from userspace xfs_fsop_handlereq structure to
-6
fs/xfs/xfs_ioctl32.c
··· 3 3 * Copyright (c) 2004-2005 Silicon Graphics, Inc. 4 4 * All Rights Reserved. 5 5 */ 6 - #include <linux/compat.h> 7 - #include <linux/ioctl.h> 8 6 #include <linux/mount.h> 9 - #include <linux/slab.h> 10 - #include <linux/uaccess.h> 11 7 #include <linux/fsmap.h> 12 8 #include "xfs.h" 13 9 #include "xfs_fs.h" ··· 14 18 #include "xfs_mount.h" 15 19 #include "xfs_inode.h" 16 20 #include "xfs_itable.h" 17 - #include "xfs_error.h" 18 21 #include "xfs_fsops.h" 19 - #include "xfs_alloc.h" 20 22 #include "xfs_rtalloc.h" 21 23 #include "xfs_attr.h" 22 24 #include "xfs_ioctl.h"
-3
fs/xfs/xfs_iomap.c
··· 4 4 * Copyright (c) 2016-2018 Christoph Hellwig. 5 5 * All Rights Reserved. 6 6 */ 7 - #include <linux/iomap.h> 8 7 #include "xfs.h" 9 8 #include "xfs_fs.h" 10 9 #include "xfs_shared.h" ··· 11 12 #include "xfs_log_format.h" 12 13 #include "xfs_trans_resv.h" 13 14 #include "xfs_mount.h" 14 - #include "xfs_defer.h" 15 15 #include "xfs_inode.h" 16 16 #include "xfs_btree.h" 17 17 #include "xfs_bmap_btree.h" ··· 23 25 #include "xfs_inode_item.h" 24 26 #include "xfs_iomap.h" 25 27 #include "xfs_trace.h" 26 - #include "xfs_icache.h" 27 28 #include "xfs_quota.h" 28 29 #include "xfs_dquot_item.h" 29 30 #include "xfs_dquot.h"
-10
fs/xfs/xfs_iops.c
··· 10 10 #include "xfs_log_format.h" 11 11 #include "xfs_trans_resv.h" 12 12 #include "xfs_mount.h" 13 - #include "xfs_da_format.h" 14 13 #include "xfs_inode.h" 15 - #include "xfs_bmap.h" 16 - #include "xfs_bmap_util.h" 17 14 #include "xfs_acl.h" 18 15 #include "xfs_quota.h" 19 - #include "xfs_error.h" 20 16 #include "xfs_attr.h" 21 17 #include "xfs_trans.h" 22 18 #include "xfs_trace.h" 23 19 #include "xfs_icache.h" 24 20 #include "xfs_symlink.h" 25 - #include "xfs_da_btree.h" 26 21 #include "xfs_dir2.h" 27 - #include "xfs_trans_space.h" 28 22 #include "xfs_iomap.h" 29 - #include "xfs_defer.h" 30 23 31 - #include <linux/capability.h> 32 24 #include <linux/xattr.h> 33 25 #include <linux/posix_acl.h> 34 26 #include <linux/security.h> 35 - #include <linux/iomap.h> 36 - #include <linux/slab.h> 37 27 #include <linux/iversion.h> 38 28 39 29 /*
-1
fs/xfs/xfs_itable.c
··· 16 16 #include "xfs_ialloc_btree.h" 17 17 #include "xfs_itable.h" 18 18 #include "xfs_error.h" 19 - #include "xfs_trace.h" 20 19 #include "xfs_icache.h" 21 20 #include "xfs_health.h" 22 21
-4
fs/xfs/xfs_log.c
··· 16 16 #include "xfs_trans_priv.h" 17 17 #include "xfs_log.h" 18 18 #include "xfs_log_priv.h" 19 - #include "xfs_log_recover.h" 20 - #include "xfs_inode.h" 21 19 #include "xfs_trace.h" 22 - #include "xfs_fsops.h" 23 - #include "xfs_cksum.h" 24 20 #include "xfs_sysfs.h" 25 21 #include "xfs_sb.h" 26 22 #include "xfs_health.h"
-3
fs/xfs/xfs_log_cil.c
··· 10 10 #include "xfs_shared.h" 11 11 #include "xfs_trans_resv.h" 12 12 #include "xfs_mount.h" 13 - #include "xfs_error.h" 14 - #include "xfs_alloc.h" 15 13 #include "xfs_extent_busy.h" 16 - #include "xfs_discard.h" 17 14 #include "xfs_trans.h" 18 15 #include "xfs_trans_priv.h" 19 16 #include "xfs_log.h"
-3
fs/xfs/xfs_log_recover.c
··· 13 13 #include "xfs_sb.h" 14 14 #include "xfs_mount.h" 15 15 #include "xfs_defer.h" 16 - #include "xfs_da_format.h" 17 - #include "xfs_da_btree.h" 18 16 #include "xfs_inode.h" 19 17 #include "xfs_trans.h" 20 18 #include "xfs_log.h" ··· 24 26 #include "xfs_alloc.h" 25 27 #include "xfs_ialloc.h" 26 28 #include "xfs_quota.h" 27 - #include "xfs_cksum.h" 28 29 #include "xfs_trace.h" 29 30 #include "xfs_icache.h" 30 31 #include "xfs_bmap_btree.h"
-1
fs/xfs/xfs_message.c
··· 8 8 #include "xfs_error.h" 9 9 #include "xfs_shared.h" 10 10 #include "xfs_format.h" 11 - #include "xfs_log_format.h" 12 11 #include "xfs_trans_resv.h" 13 12 #include "xfs_mount.h" 14 13
-4
fs/xfs/xfs_mount.c
··· 12 12 #include "xfs_bit.h" 13 13 #include "xfs_sb.h" 14 14 #include "xfs_mount.h" 15 - #include "xfs_defer.h" 16 - #include "xfs_da_format.h" 17 - #include "xfs_da_btree.h" 18 15 #include "xfs_inode.h" 19 16 #include "xfs_dir2.h" 20 17 #include "xfs_ialloc.h" ··· 24 27 #include "xfs_error.h" 25 28 #include "xfs_quota.h" 26 29 #include "xfs_fsops.h" 27 - #include "xfs_trace.h" 28 30 #include "xfs_icache.h" 29 31 #include "xfs_sysfs.h" 30 32 #include "xfs_rmap_btree.h"
-8
fs/xfs/xfs_pnfs.c
··· 2 2 /* 3 3 * Copyright (c) 2014 Christoph Hellwig. 4 4 */ 5 - #include <linux/iomap.h> 6 5 #include "xfs.h" 7 6 #include "xfs_shared.h" 8 7 #include "xfs_format.h" 9 8 #include "xfs_log_format.h" 10 9 #include "xfs_trans_resv.h" 11 - #include "xfs_sb.h" 12 10 #include "xfs_mount.h" 13 11 #include "xfs_inode.h" 14 12 #include "xfs_trans.h" 15 - #include "xfs_log.h" 16 13 #include "xfs_bmap.h" 17 - #include "xfs_bmap_util.h" 18 - #include "xfs_error.h" 19 14 #include "xfs_iomap.h" 20 - #include "xfs_shared.h" 21 - #include "xfs_bit.h" 22 - #include "xfs_pnfs.h" 23 15 24 16 /* 25 17 * Ensure that we do not have any outstanding pNFS layouts that can be used by
-4
fs/xfs/xfs_qm.c
··· 13 13 #include "xfs_sb.h" 14 14 #include "xfs_mount.h" 15 15 #include "xfs_inode.h" 16 - #include "xfs_ialloc.h" 17 16 #include "xfs_itable.h" 18 17 #include "xfs_quota.h" 19 - #include "xfs_error.h" 20 18 #include "xfs_bmap.h" 21 - #include "xfs_bmap_btree.h" 22 19 #include "xfs_bmap_util.h" 23 20 #include "xfs_trans.h" 24 21 #include "xfs_trans_space.h" 25 22 #include "xfs_qm.h" 26 23 #include "xfs_trace.h" 27 24 #include "xfs_icache.h" 28 - #include "xfs_cksum.h" 29 25 30 26 /* 31 27 * The global quota manager. There is only one of these for the entire
-1
fs/xfs/xfs_qm_bhv.c
··· 12 12 #include "xfs_quota.h" 13 13 #include "xfs_mount.h" 14 14 #include "xfs_inode.h" 15 - #include "xfs_error.h" 16 15 #include "xfs_trans.h" 17 16 #include "xfs_qm.h" 18 17
-5
fs/xfs/xfs_qm_syscalls.c
··· 4 4 * All Rights Reserved. 5 5 */ 6 6 7 - #include <linux/capability.h> 8 7 9 8 #include "xfs.h" 10 9 #include "xfs_fs.h" ··· 11 12 #include "xfs_format.h" 12 13 #include "xfs_log_format.h" 13 14 #include "xfs_trans_resv.h" 14 - #include "xfs_bit.h" 15 15 #include "xfs_sb.h" 16 16 #include "xfs_mount.h" 17 17 #include "xfs_inode.h" 18 18 #include "xfs_trans.h" 19 - #include "xfs_error.h" 20 19 #include "xfs_quota.h" 21 20 #include "xfs_qm.h" 22 - #include "xfs_trace.h" 23 21 #include "xfs_icache.h" 24 - #include "xfs_defer.h" 25 22 26 23 STATIC int xfs_qm_log_quotaoff(xfs_mount_t *, xfs_qoff_logitem_t **, uint); 27 24 STATIC int xfs_qm_log_quotaoff_end(xfs_mount_t *, xfs_qoff_logitem_t *,
-2
fs/xfs/xfs_quotaops.c
··· 12 12 #include "xfs_inode.h" 13 13 #include "xfs_quota.h" 14 14 #include "xfs_trans.h" 15 - #include "xfs_trace.h" 16 15 #include "xfs_icache.h" 17 16 #include "xfs_qm.h" 18 - #include <linux/quota.h> 19 17 20 18 21 19 static void
-1
fs/xfs/xfs_refcount_item.c
··· 14 14 #include "xfs_defer.h" 15 15 #include "xfs_trans.h" 16 16 #include "xfs_trans_priv.h" 17 - #include "xfs_buf_item.h" 18 17 #include "xfs_refcount_item.h" 19 18 #include "xfs_log.h" 20 19 #include "xfs_refcount.h"
-11
fs/xfs/xfs_reflink.c
··· 11 11 #include "xfs_trans_resv.h" 12 12 #include "xfs_mount.h" 13 13 #include "xfs_defer.h" 14 - #include "xfs_da_format.h" 15 - #include "xfs_da_btree.h" 16 14 #include "xfs_inode.h" 17 15 #include "xfs_trans.h" 18 - #include "xfs_inode_item.h" 19 16 #include "xfs_bmap.h" 20 17 #include "xfs_bmap_util.h" 21 - #include "xfs_error.h" 22 - #include "xfs_dir2.h" 23 - #include "xfs_dir2_priv.h" 24 - #include "xfs_ioctl.h" 25 18 #include "xfs_trace.h" 26 - #include "xfs_log.h" 27 19 #include "xfs_icache.h" 28 - #include "xfs_pnfs.h" 29 20 #include "xfs_btree.h" 30 21 #include "xfs_refcount_btree.h" 31 22 #include "xfs_refcount.h" ··· 24 33 #include "xfs_trans_space.h" 25 34 #include "xfs_bit.h" 26 35 #include "xfs_alloc.h" 27 - #include "xfs_quota_defs.h" 28 36 #include "xfs_quota.h" 29 37 #include "xfs_reflink.h" 30 38 #include "xfs_iomap.h" 31 - #include "xfs_rmap_btree.h" 32 39 #include "xfs_sb.h" 33 40 #include "xfs_ag_resv.h" 34 41
-1
fs/xfs/xfs_rmap_item.c
··· 14 14 #include "xfs_defer.h" 15 15 #include "xfs_trans.h" 16 16 #include "xfs_trans_priv.h" 17 - #include "xfs_buf_item.h" 18 17 #include "xfs_rmap_item.h" 19 18 #include "xfs_log.h" 20 19 #include "xfs_rmap.h"
-6
fs/xfs/xfs_rtalloc.c
··· 11 11 #include "xfs_trans_resv.h" 12 12 #include "xfs_bit.h" 13 13 #include "xfs_mount.h" 14 - #include "xfs_defer.h" 15 14 #include "xfs_inode.h" 16 15 #include "xfs_bmap.h" 17 - #include "xfs_bmap_util.h" 18 16 #include "xfs_bmap_btree.h" 19 - #include "xfs_alloc.h" 20 - #include "xfs_error.h" 21 17 #include "xfs_trans.h" 22 18 #include "xfs_trans_space.h" 23 - #include "xfs_trace.h" 24 - #include "xfs_buf.h" 25 19 #include "xfs_icache.h" 26 20 #include "xfs_rtalloc.h" 27 21
-1
fs/xfs/xfs_stats.c
··· 4 4 * All Rights Reserved. 5 5 */ 6 6 #include "xfs.h" 7 - #include <linux/proc_fs.h> 8 7 9 8 struct xstats xfsstats; 10 9
-13
fs/xfs/xfs_super.c
··· 11 11 #include "xfs_trans_resv.h" 12 12 #include "xfs_sb.h" 13 13 #include "xfs_mount.h" 14 - #include "xfs_da_format.h" 15 14 #include "xfs_inode.h" 16 15 #include "xfs_btree.h" 17 16 #include "xfs_bmap.h" 18 17 #include "xfs_alloc.h" 19 - #include "xfs_error.h" 20 18 #include "xfs_fsops.h" 21 19 #include "xfs_trans.h" 22 20 #include "xfs_buf_item.h" 23 21 #include "xfs_log.h" 24 22 #include "xfs_log_priv.h" 25 - #include "xfs_da_btree.h" 26 23 #include "xfs_dir2.h" 27 24 #include "xfs_extfree_item.h" 28 25 #include "xfs_mru_cache.h" ··· 35 38 #include "xfs_refcount_item.h" 36 39 #include "xfs_bmap_item.h" 37 40 #include "xfs_reflink.h" 38 - #include "xfs_defer.h" 39 41 40 - #include <linux/namei.h> 41 - #include <linux/dax.h> 42 - #include <linux/init.h> 43 - #include <linux/slab.h> 44 42 #include <linux/magic.h> 45 - #include <linux/mount.h> 46 - #include <linux/mempool.h> 47 - #include <linux/writeback.h> 48 - #include <linux/kthread.h> 49 - #include <linux/freezer.h> 50 43 #include <linux/parser.h> 51 44 52 45 static const struct super_operations xfs_super_operations;
-9
fs/xfs/xfs_symlink.c
··· 12 12 #include "xfs_trans_resv.h" 13 13 #include "xfs_bit.h" 14 14 #include "xfs_mount.h" 15 - #include "xfs_da_format.h" 16 - #include "xfs_da_btree.h" 17 - #include "xfs_defer.h" 18 15 #include "xfs_dir2.h" 19 16 #include "xfs_inode.h" 20 - #include "xfs_ialloc.h" 21 - #include "xfs_alloc.h" 22 17 #include "xfs_bmap.h" 23 18 #include "xfs_bmap_btree.h" 24 - #include "xfs_bmap_util.h" 25 - #include "xfs_error.h" 26 19 #include "xfs_quota.h" 27 20 #include "xfs_trans_space.h" 28 21 #include "xfs_trace.h" 29 - #include "xfs_symlink.h" 30 22 #include "xfs_trans.h" 31 - #include "xfs_log.h" 32 23 33 24 /* ----- Kernel only functions below ----- */ 34 25 int
-3
fs/xfs/xfs_sysctl.c
··· 4 4 * All Rights Reserved. 5 5 */ 6 6 #include "xfs.h" 7 - #include <linux/sysctl.h> 8 - #include <linux/proc_fs.h> 9 7 #include "xfs_error.h" 10 - #include "xfs_stats.h" 11 8 12 9 static struct ctl_table_header *xfs_table_header; 13 10
-2
fs/xfs/xfs_sysfs.c
··· 10 10 #include "xfs_log_format.h" 11 11 #include "xfs_trans_resv.h" 12 12 #include "xfs_sysfs.h" 13 - #include "xfs_log.h" 14 13 #include "xfs_log_priv.h" 15 - #include "xfs_stats.h" 16 14 #include "xfs_mount.h" 17 15 18 16 struct xfs_sysfs_attr {
-8
fs/xfs/xfs_trace.c
··· 15 15 #include "xfs_inode.h" 16 16 #include "xfs_btree.h" 17 17 #include "xfs_da_btree.h" 18 - #include "xfs_ialloc.h" 19 - #include "xfs_itable.h" 20 18 #include "xfs_alloc.h" 21 19 #include "xfs_bmap.h" 22 20 #include "xfs_attr.h" 23 - #include "xfs_attr_leaf.h" 24 21 #include "xfs_trans.h" 25 - #include "xfs_log.h" 26 22 #include "xfs_log_priv.h" 27 23 #include "xfs_buf_item.h" 28 24 #include "xfs_quota.h" 29 - #include "xfs_iomap.h" 30 - #include "xfs_aops.h" 31 25 #include "xfs_dquot_item.h" 32 26 #include "xfs_dquot.h" 33 27 #include "xfs_log_recover.h" 34 - #include "xfs_inode_item.h" 35 - #include "xfs_bmap_btree.h" 36 28 #include "xfs_filestream.h" 37 29 #include "xfs_fsmap.h" 38 30
-1
fs/xfs/xfs_trans.c
··· 11 11 #include "xfs_log_format.h" 12 12 #include "xfs_trans_resv.h" 13 13 #include "xfs_mount.h" 14 - #include "xfs_inode.h" 15 14 #include "xfs_extent_busy.h" 16 15 #include "xfs_quota.h" 17 16 #include "xfs_trans.h"
-2
fs/xfs/xfs_trans_buf.c
··· 10 10 #include "xfs_log_format.h" 11 11 #include "xfs_trans_resv.h" 12 12 #include "xfs_mount.h" 13 - #include "xfs_inode.h" 14 13 #include "xfs_trans.h" 15 14 #include "xfs_buf_item.h" 16 15 #include "xfs_trans_priv.h" 17 - #include "xfs_error.h" 18 16 #include "xfs_trace.h" 19 17 20 18 /*
-1
fs/xfs/xfs_trans_dquot.c
··· 11 11 #include "xfs_trans_resv.h" 12 12 #include "xfs_mount.h" 13 13 #include "xfs_inode.h" 14 - #include "xfs_error.h" 15 14 #include "xfs_trans.h" 16 15 #include "xfs_trans_priv.h" 17 16 #include "xfs_quota.h"
-3
fs/xfs/xfs_trans_inode.c
··· 8 8 #include "xfs_shared.h" 9 9 #include "xfs_format.h" 10 10 #include "xfs_log_format.h" 11 - #include "xfs_trans_resv.h" 12 - #include "xfs_mount.h" 13 11 #include "xfs_inode.h" 14 12 #include "xfs_trans.h" 15 13 #include "xfs_trans_priv.h" 16 14 #include "xfs_inode_item.h" 17 - #include "xfs_trace.h" 18 15 19 16 #include <linux/iversion.h> 20 17
-4
fs/xfs/xfs_xattr.c
··· 8 8 #include "xfs_shared.h" 9 9 #include "xfs_format.h" 10 10 #include "xfs_log_format.h" 11 - #include "xfs_trans_resv.h" 12 - #include "xfs_mount.h" 13 11 #include "xfs_da_format.h" 14 12 #include "xfs_inode.h" 15 13 #include "xfs_attr.h" 16 - #include "xfs_attr_leaf.h" 17 - #include "xfs_acl.h" 18 14 19 15 #include <linux/posix_acl_xattr.h> 20 16 #include <linux/xattr.h>