brd: remove discard support
authorChristoph Hellwig <hch@lst.de>
Wed, 5 Apr 2017 17:21:16 +0000 (19:21 +0200)
committerJens Axboe <axboe@fb.com>
Sat, 8 Apr 2017 17:25:38 +0000 (11:25 -0600)
commitf09a06a193d942a12c1a33c153388b3962222006
treee72cfe46da5b2cbe20a91e84c311347f081d087c
parent19372e2769179ddd154a0d6fbbdb719eb5d0af12
brd: remove discard support

It's just a in-driver reimplementation of writing zeroes to the pages,
which fails if the discards aren't page aligned.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/brd.c