diff options
author | Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> | 2019-08-23 07:45:17 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-08-23 15:58:05 +0300 |
commit | 7ea88e229e9df18ecd624b0d39f3dba87432ba33 (patch) | |
tree | 44cc348085bbf9b3b435f5ab19d83dd2fc7b71dc /drivers/block/null_blk_zoned.c | |
parent | 8f94d1c1dc1e1094ef83fcadf1b992cf8ff7869e (diff) | |
download | linux-7ea88e229e9df18ecd624b0d39f3dba87432ba33.tar.xz |
null_blk: create a helper for mem-backed ops
This patch creates a helper for handling requests when null_blk is
memory backed in the null_handle_cmd(). Although the helper is very
simple right now, it makes the code flow consistent with the rest of
code in the null_handle_cmd() and provides a uniform code structure
for future code.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/null_blk_zoned.c')
0 files changed, 0 insertions, 0 deletions