]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
block: fix bad definition of BIO_RW_SYNC
authorJens Axboe <jens.axboe@oracle.com>
Mon, 16 Feb 2009 09:25:40 +0000 (10:25 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 18 Feb 2009 09:32:00 +0000 (10:32 +0100)
commit93dbb393503d53cd226e5e1f0088fe8f4dbaa2b8
tree790365e207951cf6810e8995f3141ddc0b74519b
parentc1c201200a359cf3b6e2e36a4236cdca77a3cd8e
block: fix bad definition of BIO_RW_SYNC

We can't OR shift values, so get rid of BIO_RW_SYNC and use BIO_RW_SYNCIO
and BIO_RW_UNPLUG explicitly. This brings back the behaviour from before
213d9417fec62ef4c3675621b9364a667954d4dd.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/blktrace.c
drivers/md/dm-io.c
drivers/md/dm-kcopyd.c
drivers/md/md.c
include/linux/bio.h
include/linux/blktrace_api.h
include/linux/fs.h
kernel/power/swap.c
mm/page_io.c