aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/xfs/xfs_alloc_btree.c1
-rw-r--r--fs/xfs/xfs_bmap_btree.c1
-rw-r--r--fs/xfs/xfs_btree.c6
-rw-r--r--fs/xfs/xfs_btree.h2
-rw-r--r--fs/xfs/xfs_ialloc_btree.c1
5 files changed, 4 insertions, 7 deletions
diff --git a/fs/xfs/xfs_alloc_btree.c b/fs/xfs/xfs_alloc_btree.c
index cc1eadcbb049..8358f1ded94d 100644
--- a/fs/xfs/xfs_alloc_btree.c
+++ b/fs/xfs/xfs_alloc_btree.c
@@ -70,7 +70,6 @@ xfs_allocbt_alloc_block(
70 struct xfs_btree_cur *cur, 70 struct xfs_btree_cur *cur,
71 union xfs_btree_ptr *start, 71 union xfs_btree_ptr *start,
72 union xfs_btree_ptr *new, 72 union xfs_btree_ptr *new,
73 int length,
74 int *stat) 73 int *stat)
75{ 74{
76 int error; 75 int error;
diff --git a/fs/xfs/xfs_bmap_btree.c b/fs/xfs/xfs_bmap_btree.c
index f63403cc8b95..948836c4fd90 100644
--- a/fs/xfs/xfs_bmap_btree.c
+++ b/fs/xfs/xfs_bmap_btree.c
@@ -519,7 +519,6 @@ xfs_bmbt_alloc_block(
519 struct xfs_btree_cur *cur, 519 struct xfs_btree_cur *cur,
520 union xfs_btree_ptr *start, 520 union xfs_btree_ptr *start,
521 union xfs_btree_ptr *new, 521 union xfs_btree_ptr *new,
522 int length,
523 int *stat) 522 int *stat)
524{ 523{
525 xfs_alloc_arg_t args; /* block allocation args */ 524 xfs_alloc_arg_t args; /* block allocation args */
diff --git a/fs/xfs/xfs_btree.c b/fs/xfs/xfs_btree.c
index 41dd749dc0e7..c13d650fdb99 100644
--- a/fs/xfs/xfs_btree.c
+++ b/fs/xfs/xfs_btree.c
@@ -2371,7 +2371,7 @@ xfs_btree_split(
2371 xfs_btree_buf_to_ptr(cur, lbp, &lptr); 2371 xfs_btree_buf_to_ptr(cur, lbp, &lptr);
2372 2372
2373 /* Allocate the new block. If we can't do it, we're toast. Give up. */ 2373 /* Allocate the new block. If we can't do it, we're toast. Give up. */
2374 error = cur->bc_ops->alloc_block(cur, &lptr, &rptr, 1, stat); 2374 error = cur->bc_ops->alloc_block(cur, &lptr, &rptr, stat);
2375 if (error) 2375 if (error)
2376 goto error0; 2376 goto error0;
2377 if (*stat == 0) 2377 if (*stat == 0)
@@ -2544,7 +2544,7 @@ xfs_btree_new_iroot(
2544 pp = xfs_btree_ptr_addr(cur, 1, block); 2544 pp = xfs_btree_ptr_addr(cur, 1, block);
2545 2545
2546 /* Allocate the new block. If we can't do it, we're toast. Give up. */ 2546 /* Allocate the new block. If we can't do it, we're toast. Give up. */
2547 error = cur->bc_ops->alloc_block(cur, pp, &nptr, 1, stat); 2547 error = cur->bc_ops->alloc_block(cur, pp, &nptr, stat);
2548 if (error) 2548 if (error)
2549 goto error0; 2549 goto error0;
2550 if (*stat == 0) { 2550 if (*stat == 0) {
@@ -2648,7 +2648,7 @@ xfs_btree_new_root(
2648 cur->bc_ops->init_ptr_from_cur(cur, &rptr); 2648 cur->bc_ops->init_ptr_from_cur(cur, &rptr);
2649 2649
2650 /* Allocate the new block. If we can't do it, we're toast. Give up. */ 2650 /* Allocate the new block. If we can't do it, we're toast. Give up. */
2651 error = cur->bc_ops->alloc_block(cur, &rptr, &lptr, 1, stat); 2651 error = cur->bc_ops->alloc_block(cur, &rptr, &lptr, stat);
2652 if (error) 2652 if (error)
2653 goto error0; 2653 goto error0;
2654 if (*stat == 0) 2654 if (*stat == 0)
diff --git a/fs/xfs/xfs_btree.h b/fs/xfs/xfs_btree.h
index 91e34f21bace..875f6876ff48 100644
--- a/fs/xfs/xfs_btree.h
+++ b/fs/xfs/xfs_btree.h
@@ -129,7 +129,7 @@ struct xfs_btree_ops {
129 int (*alloc_block)(struct xfs_btree_cur *cur, 129 int (*alloc_block)(struct xfs_btree_cur *cur,
130 union xfs_btree_ptr *start_bno, 130 union xfs_btree_ptr *start_bno,
131 union xfs_btree_ptr *new_bno, 131 union xfs_btree_ptr *new_bno,
132 int length, int *stat); 132 int *stat);
133 int (*free_block)(struct xfs_btree_cur *cur, struct xfs_buf *bp); 133 int (*free_block)(struct xfs_btree_cur *cur, struct xfs_buf *bp);
134 134
135 /* update last record information */ 135 /* update last record information */
diff --git a/fs/xfs/xfs_ialloc_btree.c b/fs/xfs/xfs_ialloc_btree.c
index 7e309b11e87d..f1630ff619dd 100644
--- a/fs/xfs/xfs_ialloc_btree.c
+++ b/fs/xfs/xfs_ialloc_btree.c
@@ -71,7 +71,6 @@ xfs_inobt_alloc_block(
71 struct xfs_btree_cur *cur, 71 struct xfs_btree_cur *cur,
72 union xfs_btree_ptr *start, 72 union xfs_btree_ptr *start,
73 union xfs_btree_ptr *new, 73 union xfs_btree_ptr *new,
74 int length,
75 int *stat) 74 int *stat)
76{ 75{
77 xfs_alloc_arg_t args; /* block allocation args */ 76 xfs_alloc_arg_t args; /* block allocation args */