diff options
Diffstat (limited to 'fs/xfs/libxfs/xfs_da_btree.c')
-rw-r--r-- | fs/xfs/libxfs/xfs_da_btree.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/xfs/libxfs/xfs_da_btree.c b/fs/xfs/libxfs/xfs_da_btree.c index fd827530afec..9cb0115c6bd1 100644 --- a/fs/xfs/libxfs/xfs_da_btree.c +++ b/fs/xfs/libxfs/xfs_da_btree.c | |||
@@ -23,8 +23,6 @@ | |||
23 | #include "xfs_log_format.h" | 23 | #include "xfs_log_format.h" |
24 | #include "xfs_trans_resv.h" | 24 | #include "xfs_trans_resv.h" |
25 | #include "xfs_bit.h" | 25 | #include "xfs_bit.h" |
26 | #include "xfs_sb.h" | ||
27 | #include "xfs_ag.h" | ||
28 | #include "xfs_mount.h" | 26 | #include "xfs_mount.h" |
29 | #include "xfs_da_format.h" | 27 | #include "xfs_da_format.h" |
30 | #include "xfs_da_btree.h" | 28 | #include "xfs_da_btree.h" |
@@ -514,7 +512,6 @@ xfs_da3_root_split( | |||
514 | struct xfs_buf *bp; | 512 | struct xfs_buf *bp; |
515 | struct xfs_inode *dp; | 513 | struct xfs_inode *dp; |
516 | struct xfs_trans *tp; | 514 | struct xfs_trans *tp; |
517 | struct xfs_mount *mp; | ||
518 | struct xfs_dir2_leaf *leaf; | 515 | struct xfs_dir2_leaf *leaf; |
519 | xfs_dablk_t blkno; | 516 | xfs_dablk_t blkno; |
520 | int level; | 517 | int level; |
@@ -534,7 +531,6 @@ xfs_da3_root_split( | |||
534 | 531 | ||
535 | dp = args->dp; | 532 | dp = args->dp; |
536 | tp = args->trans; | 533 | tp = args->trans; |
537 | mp = state->mp; | ||
538 | error = xfs_da_get_buf(tp, dp, blkno, -1, &bp, args->whichfork); | 534 | error = xfs_da_get_buf(tp, dp, blkno, -1, &bp, args->whichfork); |
539 | if (error) | 535 | if (error) |
540 | return error; | 536 | return error; |
@@ -2342,14 +2338,12 @@ xfs_da_shrink_inode( | |||
2342 | xfs_inode_t *dp; | 2338 | xfs_inode_t *dp; |
2343 | int done, error, w, count; | 2339 | int done, error, w, count; |
2344 | xfs_trans_t *tp; | 2340 | xfs_trans_t *tp; |
2345 | xfs_mount_t *mp; | ||
2346 | 2341 | ||
2347 | trace_xfs_da_shrink_inode(args); | 2342 | trace_xfs_da_shrink_inode(args); |
2348 | 2343 | ||
2349 | dp = args->dp; | 2344 | dp = args->dp; |
2350 | w = args->whichfork; | 2345 | w = args->whichfork; |
2351 | tp = args->trans; | 2346 | tp = args->trans; |
2352 | mp = dp->i_mount; | ||
2353 | count = args->geo->fsbcount; | 2347 | count = args->geo->fsbcount; |
2354 | for (;;) { | 2348 | for (;;) { |
2355 | /* | 2349 | /* |