summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_bmap.c
diff options
context:
space:
mode:
authorEric Sandeen2014-04-14 10:58:51 +0200
committerDave Chinner2014-04-14 10:58:51 +0200
commit152d93b732d4d15a10db03b660b07ed5c44b4e0d (patch)
tree0efa06a94465acf1e3550e66fc487473b9fb1808 /fs/xfs/xfs_bmap.c
parentxfs: remove unused mp arg from xfs_attr3_rmt_hdr_ok() (diff)
downloadkernel-qcow2-linux-152d93b732d4d15a10db03b660b07ed5c44b4e0d.tar.gz
kernel-qcow2-linux-152d93b732d4d15a10db03b660b07ed5c44b4e0d.tar.xz
kernel-qcow2-linux-152d93b732d4d15a10db03b660b07ed5c44b4e0d.zip
xfs: remove unused mp arg from xfs_bmdr_maxrecs()
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_bmap.c')
-rw-r--r--fs/xfs/xfs_bmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_bmap.c b/fs/xfs/xfs_bmap.c
index f8dae85a877e..f49cd159414a 100644
--- a/fs/xfs/xfs_bmap.c
+++ b/fs/xfs/xfs_bmap.c
@@ -94,7 +94,7 @@ xfs_bmap_compute_maxlevels(
maxleafents = MAXAEXTNUM;
sz = XFS_BMDR_SPACE_CALC(MINABTPTRS);
}
- maxrootrecs = xfs_bmdr_maxrecs(mp, sz, 0);
+ maxrootrecs = xfs_bmdr_maxrecs(sz, 0);
minleafrecs = mp->m_bmap_dmnr[0];
minnoderecs = mp->m_bmap_dmnr[1];
maxblocks = (maxleafents + minleafrecs - 1) / minleafrecs;