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>
Wed, 23 Nov 2022 02:31:04 +0000 (11:31 +0900)
commit5aa45fe737e721a5c291dd7bfd4098567bc8fb17
tree3dfcdf53a5084d7f0499917524e8aedd94fda9b8
parent395f95fbab269d3bd404db301e0ff74c3b311aaa
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