]> git.baikalelectronics.ru Git - kernel.git/commit
block: fix blkdev_issue_flush() not detecting and passing EOPNOTSUPP back
authorJens Axboe <jens.axboe@oracle.com>
Tue, 4 Mar 2008 10:47:46 +0000 (11:47 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 4 Mar 2008 10:47:46 +0000 (11:47 +0100)
commitd16b841342acc408511954b5e55f3f1b85456668
tree8f96be9db22c086efa3751c5c3a80f0ac6007c9f
parentedd69be750779b02ca3ea987d349d31b22fc977c
block: fix blkdev_issue_flush() not detecting and passing EOPNOTSUPP back

This is important to eg dm, that tries to decide whether to stop using
barriers or not.

Tested as working by Anders Henke <anders.henke@1und1.de>

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/blk-barrier.c