]> git.baikalelectronics.ru Git - kernel.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)
commit71faaf9109caa810a8f5ea9acd45e644de14c466
tree790365e207951cf6810e8995f3141ddc0b74519b
parentfc9af4789898c34d81a29b6f1b801e4df07acce6
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
9ea9eb36a3d2c48f3fef445e63814bb0c12be606.

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