diff options
author | Dave Chinner <dchinner@redhat.com> | 2014-06-06 01:18:10 -0400 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2014-06-06 01:18:10 -0400 |
commit | ed358c0058fc7d97807c92333a4e06117a4be5fe (patch) | |
tree | 3002d3a1a07275100e7be86ec34743ef861342ed /fs/xfs/xfs_attr_leaf.c | |
parent | 8f66193c89f0b0259db6b27b4df3deb828c294f9 (diff) |
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_attr_leaf.c')
-rw-r--r-- | fs/xfs/xfs_attr_leaf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_attr_leaf.c b/fs/xfs/xfs_attr_leaf.c index 2c0fdc8a71f6..5be77b3a9bc4 100644 --- a/fs/xfs/xfs_attr_leaf.c +++ b/fs/xfs/xfs_attr_leaf.c | |||
@@ -1949,7 +1949,7 @@ xfs_attr3_leaf_remove( | |||
1949 | tmp = ichdr.usedbytes + xfs_attr3_leaf_hdr_size(leaf) + | 1949 | tmp = ichdr.usedbytes + xfs_attr3_leaf_hdr_size(leaf) + |
1950 | ichdr.count * sizeof(xfs_attr_leaf_entry_t); | 1950 | ichdr.count * sizeof(xfs_attr_leaf_entry_t); |
1951 | 1951 | ||
1952 | return tmp < mp->m_attr_magicpct; /* leaf is < 37% full */ | 1952 | return tmp < args->geo->magicpct; /* leaf is < 37% full */ |
1953 | } | 1953 | } |
1954 | 1954 | ||
1955 | /* | 1955 | /* |