block: remove blkdev_writepages
authorChristoph Hellwig <hch@lst.de>
Wed, 16 Nov 2022 13:20:35 +0000 (14:20 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 16 Nov 2022 18:32:53 +0000 (11:32 -0700)
commit470373e888f494a52f9916bf3eeea41fe819d031
tree76a8da150534b7c0f246651a268d043912e6578d
parent12e4e8c7ab5978eb56f9d363461a8a40a8618bf4
block: remove blkdev_writepages

While the block device code should switch to implementing
->writepages instead of ->writepage eventually, the current
implementation is entirely pointless as it does the same looping over
->writepage as the generic code if no ->writepages is present.

Remove blkdev_writepages so that we can eventually unexport
generic_writepages.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20221116132035.2192924-1-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/fops.c