diff options
author | Dave Chinner <dchinner@redhat.com> | 2014-06-06 09:20:02 +0400 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2014-06-06 09:20:02 +0400 |
commit | 7ab610f9e0f1701b7b319bdc946b9804fb79e780 (patch) | |
tree | 388cd5166ab84962462e94404920c1750892d1a6 /fs/xfs/xfs_da_btree.c | |
parent | ed358c0058fc7d97807c92333a4e06117a4be5fe (diff) | |
download | linux-7ab610f9e0f1701b7b319bdc946b9804fb79e780.tar.xz |
xfs: move node entry counts 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_da_btree.c')
-rw-r--r-- | fs/xfs/xfs_da_btree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_da_btree.c b/fs/xfs/xfs_da_btree.c index 653e23f17f79..e6c994c00672 100644 --- a/fs/xfs/xfs_da_btree.c +++ b/fs/xfs/xfs_da_btree.c @@ -167,8 +167,8 @@ xfs_da3_node_verify( * we don't know if the node is for and attribute or directory tree, * so only fail if the count is outside both bounds */ - if (ichdr.count > mp->m_dir_node_ents && - ichdr.count > mp->m_attr_node_ents) + if (ichdr.count > mp->m_dir_geo->node_ents && + ichdr.count > mp->m_attr_geo->node_ents) return false; /* XXX: hash order check? */ |