Commit ee4465a
dm-ioctl: report an error if a device has no table
commit 457e323 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent 93dfe94 commit ee4465a
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1806 | 1806 | | |
1807 | 1807 | | |
1808 | 1808 | | |
1809 | | - | |
| 1809 | + | |
| 1810 | + | |
| 1811 | + | |
1810 | 1812 | | |
| 1813 | + | |
1811 | 1814 | | |
1812 | 1815 | | |
1813 | 1816 | | |
| |||
0 commit comments