commit | d6e94913cb1cb4b4d1d737f72b5cef10b13395ff | [log] [tgz] |
---|---|---|
author | Guoqing Jiang <guoqing.jiang@linux.dev> | Wed May 24 15:00:21 2023 +0800 |
committer | Jens Axboe <axboe@kernel.dk> | Sun Jun 11 19:48:42 2023 -0600 |
tree | 97bc5eaa548c826c0f8556f339196b300ba624e1 | |
parent | 5783153ac67e20f65a402ef42237cd1a6d7fa320 [diff] |
block/rnbd: introduce rnbd_access_modes Add one new array (marked with __maybe_unused to prevent gcc warning about "defined but not used" with W=1), then we can remove rnbd_access_mode_str and rnbd-common.c accordingly. Signed-off-by: Guoqing Jiang <guoqing.jiang@linux.dev> Acked-by: Jack Wang <jinpu.wang@ionos.com> Link: https://lore.kernel.org/r/20230524070026.2932-4-guoqing.jiang@linux.dev Signed-off-by: Jens Axboe <axboe@kernel.dk>