Btrfs: KM_IRQ0 usage in end_io handling

endio handling is typically called with interrupts disabled, but can
also be called with it enabled. So save interrupts before using KM_IRQ0
to be completely safe.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
Jens Axboe 2007-10-19 09:23:07 -04:00 • committed by Chris Mason
commit bbf0d0062d