mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
xfs: non-scrub - remove unused function parameters
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>
This commit is contained in:
parent
7fcd3efa1e
commit
a1f69417c6
27 changed files with 48 additions and 76 deletions
|
@ -351,7 +351,6 @@ xfs_refcount_merge_center_extents(
|
|||
struct xfs_refcount_irec *center,
|
||||
struct xfs_refcount_irec *right,
|
||||
unsigned long long extlen,
|
||||
xfs_agblock_t *agbno,
|
||||
xfs_extlen_t *aglen)
|
||||
{
|
||||
int error;
|
||||
|
@ -471,7 +470,6 @@ xfs_refcount_merge_right_extent(
|
|||
struct xfs_btree_cur *cur,
|
||||
struct xfs_refcount_irec *right,
|
||||
struct xfs_refcount_irec *cright,
|
||||
xfs_agblock_t *agbno,
|
||||
xfs_extlen_t *aglen)
|
||||
{
|
||||
int error;
|
||||
|
@ -749,7 +747,7 @@ xfs_refcount_merge_extents(
|
|||
ulen < MAXREFCEXTLEN) {
|
||||
*shape_changed = true;
|
||||
return xfs_refcount_merge_center_extents(cur, &left, &cleft,
|
||||
&right, ulen, agbno, aglen);
|
||||
&right, ulen, aglen);
|
||||
}
|
||||
|
||||
/* Try to merge left and cleft. */
|
||||
|
@ -778,7 +776,7 @@ xfs_refcount_merge_extents(
|
|||
ulen < MAXREFCEXTLEN) {
|
||||
*shape_changed = true;
|
||||
return xfs_refcount_merge_right_extent(cur, &right, &cright,
|
||||
agbno, aglen);
|
||||
aglen);
|
||||
}
|
||||
|
||||
return error;
|
||||
|
@ -1356,9 +1354,7 @@ xfs_refcount_adjust_cow_extents(
|
|||
struct xfs_btree_cur *cur,
|
||||
xfs_agblock_t agbno,
|
||||
xfs_extlen_t aglen,
|
||||
enum xfs_refc_adjust_op adj,
|
||||
struct xfs_defer_ops *dfops,
|
||||
struct xfs_owner_info *oinfo)
|
||||
enum xfs_refc_adjust_op adj)
|
||||
{
|
||||
struct xfs_refcount_irec ext, tmp;
|
||||
int error;
|
||||
|
@ -1437,8 +1433,7 @@ xfs_refcount_adjust_cow(
|
|||
struct xfs_btree_cur *cur,
|
||||
xfs_agblock_t agbno,
|
||||
xfs_extlen_t aglen,
|
||||
enum xfs_refc_adjust_op adj,
|
||||
struct xfs_defer_ops *dfops)
|
||||
enum xfs_refc_adjust_op adj)
|
||||
{
|
||||
bool shape_changed;
|
||||
int error;
|
||||
|
@ -1465,8 +1460,7 @@ xfs_refcount_adjust_cow(
|
|||
goto out_error;
|
||||
|
||||
/* Now that we've taken care of the ends, adjust the middle extents */
|
||||
error = xfs_refcount_adjust_cow_extents(cur, agbno, aglen, adj,
|
||||
dfops, NULL);
|
||||
error = xfs_refcount_adjust_cow_extents(cur, agbno, aglen, adj);
|
||||
if (error)
|
||||
goto out_error;
|
||||
|
||||
|
@ -1493,7 +1487,7 @@ __xfs_refcount_cow_alloc(
|
|||
|
||||
/* Add refcount btree reservation */
|
||||
return xfs_refcount_adjust_cow(rcur, agbno, aglen,
|
||||
XFS_REFCOUNT_ADJUST_COW_ALLOC, dfops);
|
||||
XFS_REFCOUNT_ADJUST_COW_ALLOC);
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -1511,7 +1505,7 @@ __xfs_refcount_cow_free(
|
|||
|
||||
/* Remove refcount btree reservation */
|
||||
return xfs_refcount_adjust_cow(rcur, agbno, aglen,
|
||||
XFS_REFCOUNT_ADJUST_COW_FREE, dfops);
|
||||
XFS_REFCOUNT_ADJUST_COW_FREE);
|
||||
}
|
||||
|
||||
/* Record a CoW staging extent in the refcount btree. */
|
||||
|
@ -1568,7 +1562,7 @@ struct xfs_refcount_recovery {
|
|||
/* Stuff an extent on the recovery list. */
|
||||
STATIC int
|
||||
xfs_refcount_recover_extent(
|
||||
struct xfs_btree_cur *cur,
|
||||
struct xfs_btree_cur *cur,
|
||||
union xfs_btree_rec *rec,
|
||||
void *priv)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue