aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorGuoqing Jiang <[email protected]>2023-05-24 15:00:22 +0800
committerJens Axboe <[email protected]>2023-06-11 19:48:42 -0600
commitba2eed1cf8f08f1e5b1ba009ac22554f14d05342 (patch)
tree2e542af5ff9d087b9cd616740b5a068e1e9afa5c /lib/memory-notifier-error-inject.c
parentd6e94913cb1cb4b4d1d737f72b5cef10b13395ff (diff)
block/rnbd-srv: no need to check sess_dev
Check ret is enough since if sess_dev is NULL which also implies ret should be 0. Acked-by: Jack Wang <[email protected]> Signed-off-by: Guoqing Jiang <[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