diff options
author | Eric Sandeen <sandeen@redhat.com> | 2014-04-14 18:58:51 +1000 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2014-04-14 18:58:51 +1000 |
commit | 152d93b732d4d15a10db03b660b07ed5c44b4e0d (patch) | |
tree | 0efa06a94465acf1e3550e66fc487473b9fb1808 /fs/xfs/xfs_bmap.c | |
parent | 6d0081a3da32c9a9e480ae2796588508347bdb9e (diff) | |
download | linux-152d93b732d4d15a10db03b660b07ed5c44b4e0d.tar.bz2 |
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.c | 2 |
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; |