]> err.no Git - linux-2.6/commit
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)
commitdb0a2e0099be3a1cff55879225881465f16c67d3
tree297f788296f1722b4a6b2e5947fa9a3aa63dc36b
parent2fb98e8414c42cb14698833aac640b143b9ade4f
block: clear drain buffer if draining for write command

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>
block/blk-merge.c