Commit ba58995
dlm: fix pending remove if msg allocation fails
This patch unsets ls_remove_len and ls_remove_name if a message
allocation of a remove messages fails. In this case we never send a
remove message out but set the per ls ls_remove_len ls_remove_name
variable for a pending remove. Unset those variable should indicate
possible waiters in wait_pending_remove() that no pending remove is
going on at this moment.
Cc: stable@vger.kernel.org
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>1 parent f6f7418 commit ba58995
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4100 | 4100 | | |
4101 | 4101 | | |
4102 | 4102 | | |
4103 | | - | |
| 4103 | + | |
4104 | 4104 | | |
4105 | 4105 | | |
4106 | 4106 | | |
4107 | 4107 | | |
4108 | 4108 | | |
4109 | 4109 | | |
| 4110 | + | |
4110 | 4111 | | |
4111 | 4112 | | |
4112 | 4113 | | |
| |||
0 commit comments