summaryrefslogtreecommitdiffstats
path: root/crypto/xor.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2011-01-25 10:06:19 +0100
committerAlex Elder <aelder@sgi.com>2011-02-07 20:29:06 +0100
commit04e99455ea5bb17ea7c2e7bb0970168efb736242 (patch)
tree6990228f08cf4ffdfe454bd3d4e88f42b23f9cf8 /crypto/xor.c
parentxfs: xfs_bmap_add_extent_delay_real should init br_startblock (diff)
downloadlinux-04e99455ea5bb17ea7c2e7bb0970168efb736242.tar.xz
linux-04e99455ea5bb17ea7c2e7bb0970168efb736242.zip
xfs: only lock the rt bitmap inode once per allocation
Currently both xfs_rtpick_extent and xfs_rtallocate_extent call xfs_trans_iget to grab and lock the rt bitmap inode, which results in a deadlock since the removal of the lock recursion counters in commit "xfs: simplify inode to transaction joining" Fix this by acquiring and locking the inode in xfs_bmap_rtalloc before calling into xfs_rtpick_extent and xfs_rtallocate_extent. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'crypto/xor.c')
0 files changed, 0 insertions, 0 deletions