Btrfs: KM_IRQ0 usage in end_io handling
authorJens Axboe <jens.axboe@oracle.com>
Fri, 19 Oct 2007 13:23:07 +0000 (09:23 -0400)
committerChris Mason <chris.mason@oracle.com>
Thu, 25 Sep 2008 15:03:57 +0000 (11:03 -0400)
commitbbf0d0062da2b3e1e239e381f8ac20971ef1b2ed
tree6102eca045793cf1384d39d2fb2061f4dd3d23d8
parent0a2118dfd4c328e8823cdcfebf839dff73ac21e9
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>
fs/btrfs/inode.c