summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_btree.h
diff options
context:
space:
mode:
authorMark Tinguely <tinguely@sgi.com>2012-12-04 17:18:02 -0600
committerBen Myers <bpm@sgi.com>2013-01-16 16:07:11 -0600
commitd44d9bc68e32ad5881b105f82bd259d261d1ef74 (patch)
tree263045fc7f9efcaaa70e01cb4800193bc4aa1ce9 /fs/xfs/xfs_btree.h
parenta49f0d1ea3ec94fc7cf33a7c36a16343b74bd565 (diff)
downloadop-kernel-dev-d44d9bc68e32ad5881b105f82bd259d261d1ef74.zip
op-kernel-dev-d44d9bc68e32ad5881b105f82bd259d261d1ef74.tar.gz
xfs: use b_maps[] for discontiguous buffers
Commits starting at 77c1a08 introduced a multiple segment support to xfs_buf. xfs_trans_buf_item_match() could not find a multi-segment buffer in the transaction because it was looking at the single segment block number rather than the multi-segment b_maps[0].bm.bn. This results on a recursive buffer lock that can never be satisfied. This patch: 1) Changed the remaining b_map accesses to be b_maps[0] accesses. 2) Renames the single segment b_map structure to __b_map to avoid future confusion. Signed-off-by: Mark Tinguely <tinguely@sgi.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_btree.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud