]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitae23c780cd55af74aba178e9928b0e38c7a485c4
tree97d1be48de02fc7ca0e41df2fea8e2723ce40157
parentb38941173443c82453b37e943b47688d8833e8c4
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