summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_dir2_node.c
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2014-06-06 07:18:10 +0200
committerDave Chinner <david@fromorbit.com>2014-06-06 07:18:10 +0200
commited358c0058fc7d97807c92333a4e06117a4be5fe (patch)
tree3002d3a1a07275100e7be86ec34743ef861342ed /fs/xfs/xfs_dir2_node.c
parentxfs: convert m_dirblksize to xfs_da_geometry (diff)
downloadlinux-ed358c0058fc7d97807c92333a4e06117a4be5fe.tar.xz
linux-ed358c0058fc7d97807c92333a4e06117a4be5fe.zip
xfs: convert dir/attr btree threshold to xfs_da_geometry
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_dir2_node.c')
-rw-r--r--fs/xfs/xfs_dir2_node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_dir2_node.c b/fs/xfs/xfs_dir2_node.c
index ef34c197b62f..de5b29965ff5 100644
--- a/fs/xfs/xfs_dir2_node.c
+++ b/fs/xfs/xfs_dir2_node.c
@@ -1312,7 +1312,7 @@ xfs_dir2_leafn_remove(
*/
*rval = (dp->d_ops->leaf_hdr_size +
(uint)sizeof(ents[0]) * (leafhdr.count - leafhdr.stale)) <
- mp->m_dir_magicpct;
+ args->geo->magicpct;
return 0;
}