diff options
Diffstat (limited to 'fs/xfs/xfs_iomap.c')
-rw-r--r-- | fs/xfs/xfs_iomap.c | 23 |
1 files changed, 8 insertions, 15 deletions
diff --git a/fs/xfs/xfs_iomap.c b/fs/xfs/xfs_iomap.c index 8d4d49b6fbf3..22d1cbea283d 100644 --- a/fs/xfs/xfs_iomap.c +++ b/fs/xfs/xfs_iomap.c | |||
@@ -17,34 +17,28 @@ | |||
17 | */ | 17 | */ |
18 | #include "xfs.h" | 18 | #include "xfs.h" |
19 | #include "xfs_fs.h" | 19 | #include "xfs_fs.h" |
20 | #include "xfs_shared.h" | ||
20 | #include "xfs_format.h" | 21 | #include "xfs_format.h" |
21 | #include "xfs_log.h" | 22 | #include "xfs_log_format.h" |
22 | #include "xfs_trans.h" | 23 | #include "xfs_trans_resv.h" |
23 | #include "xfs_sb.h" | 24 | #include "xfs_sb.h" |
24 | #include "xfs_ag.h" | 25 | #include "xfs_ag.h" |
25 | #include "xfs_alloc.h" | ||
26 | #include "xfs_quota.h" | ||
27 | #include "xfs_mount.h" | 26 | #include "xfs_mount.h" |
28 | #include "xfs_bmap_btree.h" | ||
29 | #include "xfs_alloc_btree.h" | ||
30 | #include "xfs_ialloc_btree.h" | ||
31 | #include "xfs_dinode.h" | ||
32 | #include "xfs_inode.h" | 27 | #include "xfs_inode.h" |
33 | #include "xfs_inode_item.h" | ||
34 | #include "xfs_btree.h" | 28 | #include "xfs_btree.h" |
29 | #include "xfs_bmap_btree.h" | ||
35 | #include "xfs_bmap.h" | 30 | #include "xfs_bmap.h" |
36 | #include "xfs_bmap_util.h" | 31 | #include "xfs_bmap_util.h" |
37 | #include "xfs_rtalloc.h" | ||
38 | #include "xfs_error.h" | 32 | #include "xfs_error.h" |
39 | #include "xfs_itable.h" | 33 | #include "xfs_trans.h" |
40 | #include "xfs_attr.h" | ||
41 | #include "xfs_buf_item.h" | ||
42 | #include "xfs_trans_space.h" | 34 | #include "xfs_trans_space.h" |
43 | #include "xfs_iomap.h" | 35 | #include "xfs_iomap.h" |
44 | #include "xfs_trace.h" | 36 | #include "xfs_trace.h" |
45 | #include "xfs_icache.h" | 37 | #include "xfs_icache.h" |
38 | #include "xfs_quota.h" | ||
46 | #include "xfs_dquot_item.h" | 39 | #include "xfs_dquot_item.h" |
47 | #include "xfs_dquot.h" | 40 | #include "xfs_dquot.h" |
41 | #include "xfs_dinode.h" | ||
48 | 42 | ||
49 | 43 | ||
50 | #define XFS_WRITEIO_ALIGN(mp,off) (((off) >> mp->m_writeio_log) \ | 44 | #define XFS_WRITEIO_ALIGN(mp,off) (((off) >> mp->m_writeio_log) \ |
@@ -110,7 +104,7 @@ xfs_alert_fsblock_zero( | |||
110 | xfs_alert_tag(ip->i_mount, XFS_PTAG_FSBLOCK_ZERO, | 104 | xfs_alert_tag(ip->i_mount, XFS_PTAG_FSBLOCK_ZERO, |
111 | "Access to block zero in inode %llu " | 105 | "Access to block zero in inode %llu " |
112 | "start_block: %llx start_off: %llx " | 106 | "start_block: %llx start_off: %llx " |
113 | "blkcnt: %llx extent-state: %x\n", | 107 | "blkcnt: %llx extent-state: %x", |
114 | (unsigned long long)ip->i_ino, | 108 | (unsigned long long)ip->i_ino, |
115 | (unsigned long long)imap->br_startblock, | 109 | (unsigned long long)imap->br_startblock, |
116 | (unsigned long long)imap->br_startoff, | 110 | (unsigned long long)imap->br_startoff, |
@@ -655,7 +649,6 @@ int | |||
655 | xfs_iomap_write_allocate( | 649 | xfs_iomap_write_allocate( |
656 | xfs_inode_t *ip, | 650 | xfs_inode_t *ip, |
657 | xfs_off_t offset, | 651 | xfs_off_t offset, |
658 | size_t count, | ||
659 | xfs_bmbt_irec_t *imap) | 652 | xfs_bmbt_irec_t *imap) |
660 | { | 653 | { |
661 | xfs_mount_t *mp = ip->i_mount; | 654 | xfs_mount_t *mp = ip->i_mount; |