Abhishek Sahu 9a51544774 mtd: blkdevs: Fix mtd block write failure
All the MTD block write requests are failing with
following error messages

    mkfs.ext4  /dev/mtdblock0

    print_req_error: I/O error, dev mtdblock0, sector 0
    Buffer I/O error on dev mtdblock0, logical block 0,
    lost async page write

The control is going to default case after block write request
because of missing return.

Fixes: commit 2a842acab109 ("block: introduce new block status code type")
Signed-off-by: Abhishek Sahu <absahu@codeaurora.org>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
2017-08-12 14:53:24 -07:00
..
2017-08-02 10:26:43 +02:00
2017-07-03 20:27:48 -07:00
2017-07-07 17:57:59 -07:00
2017-04-20 12:09:55 -06:00
2014-03-10 22:42:25 -07:00
2016-04-18 11:23:24 +02:00
2016-07-09 18:48:54 -07:00