Skip to content
Commit 362cd2b1 authored by Minwoo Im's avatar Minwoo Im Committed by Jens Axboe
Browse files

lightnvm: print error when target is not found



If userspace requests target to be removed, nvm_remove_tgt() will
iterate the nvm_devices to find out the given target, but if not
found, then it should print out an error.

Signed-off-by: default avatarMinwoo Im <minwoo.im.dev@gmail.com>
Updated output string and patch description.
Signed-off-by: default avatarMatias Bjørling <mb@lightnvm.io>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 43db059e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment