mtd_blkdevs: don't override BLKFLSBUF
authorChristoph Hellwig <hch@lst.de>
Tue, 3 Nov 2020 10:00:09 +0000 (11:00 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 16 Nov 2020 15:14:29 +0000 (08:14 -0700)
commitdaaedb820ad716e00210af8859b194c404202b78
tree97d1be48de02fc7ca0e41df2fea8e2723ce40157
parent09162bc32c880a791c6c0668ce0745cf7958f576
mtd_blkdevs: don't override BLKFLSBUF

BLKFLSBUF is not supposed to actually send a flush command to the device,
but to tear down buffer cache structures.  Remove the mtd_blkdevs
implementation and just use the default semantics instead.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/mtd/mtd_blkdevs.c