summaryrefslogtreecommitdiff
path: root/fs/btrfs/extent_map.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2007-09-11 00:02:27 (GMT)
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-09-11 00:02:27 (GMT)
commit90f1c19a9fd2a943adc69d2b9b8c83bcc4bba6f9 (patch)
tree4928c818b63181775d7800158882024390b7103a /fs/btrfs/extent_map.h
parent9433063bcb4b3c0c9e5ef3c24a811b63084dedb4 (diff)
downloadlinux-90f1c19a9fd2a943adc69d2b9b8c83bcc4bba6f9.tar.xz
Btrfs: [PATCH] extent_map: fix locking for bio completion
The bio completion handlers can be run in any context, e.g. when using the old ide driver they run in hardirq context with irqs disabled so lockdep rightfully warns about using write_lock_irq useage in these handlers. This patch switches clear_extent_bit and set_extent_bit to write_lock_irqsave to fix this problem. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/extent_map.h')
0 files changed, 0 insertions, 0 deletions