summaryrefslogtreecommitdiffstats
path: root/drivers/block/hd.c
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2016-10-25 16:46:23 +0200
committerJens Axboe <axboe@fb.com>2016-10-25 19:55:25 +0200
commitff26956875c2f05e12ecec9938411a2c7dfc767d (patch)
treea2c977c066b96b721399b917d5ce5b1974d9a65a /drivers/block/hd.c
parentbrd: Switch rd_size to unsigned long (diff)
downloadlinux-ff26956875c2f05e12ecec9938411a2c7dfc767d.tar.xz
linux-ff26956875c2f05e12ecec9938411a2c7dfc767d.zip
brd: remove support for BLKFLSBUF
Discontinue having the brd driver destructively free all pages in the ramdisk in response to the BLKFLSBUF ioctl. Doing so allows a BLKFLSBUF ioctl issued to a logical partition to destroy pages of the parent brd device (and all other partitions of that brd device). This change breaks compatibility - but in this case the compatibility breaks more than it helps. Reported-by: Mikulas Patocka <mpatocka@redhat.com> Suggested-by: Christoph Hellwig <hch@infradead.org> Signed-off-by: Mike Snitzer <snitzer@redhat.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/block/hd.c')
0 files changed, 0 insertions, 0 deletions