diff options
author | Dave Chinner <dchinner@redhat.com> | 2014-06-06 07:21:27 +0200 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2014-06-06 07:21:27 +0200 |
commit | c59f0ad23af0f4d7f64d2c2cdd85ceb49f6337fa (patch) | |
tree | 98d22fb1394aa1b55572ff2d708d4115ed1ace5c /fs/xfs/xfs_attr_leaf.h | |
parent | xfs: use xfs_da_geometry for block size in attr code (diff) | |
download | linux-c59f0ad23af0f4d7f64d2c2cdd85ceb49f6337fa.tar.xz linux-c59f0ad23af0f4d7f64d2c2cdd85ceb49f6337fa.zip |
xfs: pass xfs_da_args to xfs_attr_leaf_newentsize
As it's only ever called from contexts where the xfs_da_args is
present and contains all the information needed inside the args
structure.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_attr_leaf.h')
-rw-r--r-- | fs/xfs/xfs_attr_leaf.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/xfs/xfs_attr_leaf.h b/fs/xfs/xfs_attr_leaf.h index 3ec5ec0b8678..e2929da7c3ba 100644 --- a/fs/xfs/xfs_attr_leaf.h +++ b/fs/xfs/xfs_attr_leaf.h @@ -96,8 +96,7 @@ int xfs_attr3_root_inactive(struct xfs_trans **trans, struct xfs_inode *dp); xfs_dahash_t xfs_attr_leaf_lasthash(struct xfs_buf *bp, int *count); int xfs_attr_leaf_order(struct xfs_buf *leaf1_bp, struct xfs_buf *leaf2_bp); -int xfs_attr_leaf_newentsize(int namelen, int valuelen, int blocksize, - int *local); +int xfs_attr_leaf_newentsize(struct xfs_da_args *args, int *local); int xfs_attr3_leaf_read(struct xfs_trans *tp, struct xfs_inode *dp, xfs_dablk_t bno, xfs_daddr_t mappedbno, struct xfs_buf **bpp); |