Skip to content
Commit 4cb3e1db authored by Mikulas Patocka's avatar Mikulas Patocka Committed by Mike Snitzer
Browse files

dm cache: return -EINVAL if the user specifies unknown cache policy



Return -EINVAL when the specified cache policy is unknown rather than
returning -ENOMEM.

Signed-off-by: default avatarMikulas Patocka <mpatocka@redhat.com>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent dd8b0c20
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