brd: Support discard
authorHoegeun Kwon <hoegeun.kwon@samsung.com>
Mon, 7 Nov 2022 04:11:09 +0000 (13:11 +0900)
committerHoegeun Kwon <hoegeun.kwon@samsung.com>
Thu, 3 Aug 2023 09:35:25 +0000 (18:35 +0900)
commit74327e8d2d9265f048b55867190544dd1aa69a62
tree55af8cdad5d072985ab673775c36420aa8c8ac6e
parenta6bb6e795b77196f5239cb6639ac0ec9f1030620
brd: Support discard

To support ramdisk flush, discard is required. So, revert the commit.
Also, this commit has been modified to match the interface of the
kernel v5.15.

This reverts commit f09a06a193d942a12c1a33c153388b3962222006.

Change-Id: Ic66d8331b63e96ed35ae7ca48cb7c7349559ea58
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
drivers/block/brd.c