aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_btree.c
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@redhat.com>2014-04-14 05:03:53 -0400
committerDave Chinner <david@fromorbit.com>2014-04-14 05:03:53 -0400
commit6f8950cd731432508859ef0c054b026270095b2e (patch)
tree3ec6e9bbb158872e7f60b3124d212b57e84f72f8 /fs/xfs/xfs_btree.c
parent6ea94bb5b30f14717e349f4e3ea4a6df03e1ee67 (diff)
xfs: remove unused length arg from alloc_block ops
Signed-off-by: Eric Sandeen <sandeen@redhat.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_btree.c')
-rw-r--r--fs/xfs/xfs_btree.c6
1 files changed, 3 insertions, 3 deletions
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)