commit | 7ea88e229e9df18ecd624b0d39f3dba87432ba33 | [log] [tgz] |
---|---|---|
author | Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> | Thu Aug 22 21:45:17 2019 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Aug 23 06:58:05 2019 -0600 |
tree | 44cc348085bbf9b3b435f5ab19d83dd2fc7b71dc | |
parent | 8f94d1c1dc1e1094ef83fcadf1b992cf8ff7869e [diff] |
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>