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>
Wed, 23 Nov 2022 02:31:04 +0000 (11:31 +0900)
commit238d934ab33f8fa07fe21310d89ab624b90dbd8c
tree67aff9f234e46ea8f03b01085825a18b37dbbd47
parent5aa45fe737e721a5c291dd7bfd4098567bc8fb17
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