brd: Support for BLKFLSBUF
authorHoegeun Kwon <hoegeun.kwon@samsung.com>
Mon, 7 Nov 2022 04:11:13 +0000 (13:11 +0900)
committerHoegeun Kwon <hoegeun.kwon@samsung.com>
Thu, 3 Aug 2023 09:35:25 +0000 (18:35 +0900)
commit49cff306cdd8731ba0d94774dfff11a3db8b9b71
tree9eb2091b6e2320a7996926c5fddc3445cb173075
parent74327e8d2d9265f048b55867190544dd1aa69a62
brd: Support for BLKFLSBUF

To support brd flush to free ramdisk brd_mutex is required. also to
free ramdisk memory, BLKFLSBUF support is required. this commit has
been modified to match the interface of the kernel v5.15.

This reverts commit 15f7b41f70ddcca3b555bd0fdc7c8da7466b517e.
This reverts commit ff26956875c2f05e12ecec9938411a2c7dfc767d.

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