Skip to content
Commit cc66b451 authored by Jens Axboe's avatar Jens Axboe
Browse files

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: default avatarJens Axboe <jens.axboe@oracle.com>
parent 56d94a37
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment