diff options
author | Guoqing Jiang <[email protected]> | 2023-05-24 15:00:21 +0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2023-06-11 19:48:42 -0600 |
commit | d6e94913cb1cb4b4d1d737f72b5cef10b13395ff (patch) | |
tree | 97bc5eaa548c826c0f8556f339196b300ba624e1 /lib/memory-notifier-error-inject.c | |
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 <[email protected]>
Acked-by: Jack Wang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions