[PATCH] Fix character + O_DIRECT
authorJens Axboe <jens.axboe@oracle.com>
Wed, 20 Dec 2006 11:54:25 +0000 (12:54 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 20 Dec 2006 11:54:25 +0000 (12:54 +0100)
commite0a223354342cc45a916b669343718b80a20c2ea
treee906904a03c36d30ef267d9c859774f08c1681a1
parent0268b8ba7b2c79c669323cb1fcc0b045b84313f1
[PATCH] Fix character + O_DIRECT

Just clear ->odirect if it's a character device, it doesn't apply.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
init.c