Commit 457e323
Mikulas Patocka
dm-ioctl: report an error if a device has no table
When we send a message to a device that has no table, the return code was
not set. The code would return "2", which is not considered a valid return value.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Cc: stable@vger.kernel.org
Reviewed-by: Benjamin Marzinski <bmarzins@redhat.com>1 parent 5256a62 commit 457e323
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1938 | 1938 | | |
1939 | 1939 | | |
1940 | 1940 | | |
1941 | | - | |
| 1941 | + | |
| 1942 | + | |
| 1943 | + | |
1942 | 1944 | | |
| 1945 | + | |
1943 | 1946 | | |
1944 | 1947 | | |
1945 | 1948 | | |
| |||
0 commit comments