diff options
Diffstat (limited to 'fs/xfs/xfs_da_btree.c')
-rw-r--r-- | fs/xfs/xfs_da_btree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_da_btree.c b/fs/xfs/xfs_da_btree.c index 796272a2e129..e69d57be866b 100644 --- a/fs/xfs/xfs_da_btree.c +++ b/fs/xfs/xfs_da_btree.c | |||
@@ -1295,7 +1295,7 @@ xfs_da3_fixhashpath( | |||
1295 | node = blk->bp->b_addr; | 1295 | node = blk->bp->b_addr; |
1296 | dp->d_ops->node_hdr_from_disk(&nodehdr, node); | 1296 | dp->d_ops->node_hdr_from_disk(&nodehdr, node); |
1297 | btree = dp->d_ops->node_tree_p(node); | 1297 | btree = dp->d_ops->node_tree_p(node); |
1298 | if (be32_to_cpu(btree->hashval) == lasthash) | 1298 | if (be32_to_cpu(btree[blk->index].hashval) == lasthash) |
1299 | break; | 1299 | break; |
1300 | blk->hashval = lasthash; | 1300 | blk->hashval = lasthash; |
1301 | btree[blk->index].hashval = cpu_to_be32(lasthash); | 1301 | btree[blk->index].hashval = cpu_to_be32(lasthash); |