Commit 7109f61
xen-blkback: don't "handle" error by BUG()
commit 5a26428 upstream.
In particular -ENOMEM may come back here, from set_foreign_p2m_mapping().
Don't make problems worse, the more that handling elsewhere (together
with map's status fields now indicating whether a mapping wasn't even
attempted, and hence has to be considered failed) doesn't require this
odd way of dealing with errors.
This is part of XSA-362.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Cc: stable@vger.kernel.org
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent 55ccf71 commit 7109f61
1 file changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
867 | 867 | | |
868 | 868 | | |
869 | 869 | | |
870 | | - | |
| 870 | + | |
871 | 871 | | |
872 | | - | |
873 | | - | |
874 | 872 | | |
875 | 873 | | |
876 | 874 | | |
| |||
885 | 883 | | |
886 | 884 | | |
887 | 885 | | |
888 | | - | |
| 886 | + | |
889 | 887 | | |
890 | 888 | | |
891 | 889 | | |
| |||
0 commit comments