block: clear drain buffer if draining for write command
authorTejun Heo <htejun@gmail.com>
Tue, 19 Feb 2008 10:36:55 +0000 (11:36 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 19 Feb 2008 10:36:55 +0000 (11:36 +0100)
Clear drain buffer before chaining if the command in question is a
write.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>

No differences found