Home
last modified time | relevance | path

Searched hist:b9d2f6ada0083bad46f37a1238fea718b575e0fa (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/fs/dlm/
H A Dlock.hdiff b9d2f6ada0083bad46f37a1238fea718b575e0fa Tue Aug 01 13:09:47 CDT 2023 Alexander Aring <aahringo@redhat.com> fs: dlm: drop rxbuf manipulation in dlm_recover_master_copy

Currently dlm_recover_master_copy() manipulates the receive buffer of an
rcom lock message and modifies it on the fly so a later memcpy() to a
new rcom message with the same message has those new values. This patch
avoids manipulating the received rcom message by store the values for
the new rcom message in paremter assigned with call by reference. Later
when dlm_send_rcom_lock() constructs a new message and memcpy() the
receive buffer those values will be set on the new constructed message.

Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
H A Drcom.cdiff b9d2f6ada0083bad46f37a1238fea718b575e0fa Tue Aug 01 13:09:47 CDT 2023 Alexander Aring <aahringo@redhat.com> fs: dlm: drop rxbuf manipulation in dlm_recover_master_copy

Currently dlm_recover_master_copy() manipulates the receive buffer of an
rcom lock message and modifies it on the fly so a later memcpy() to a
new rcom message with the same message has those new values. This patch
avoids manipulating the received rcom message by store the values for
the new rcom message in paremter assigned with call by reference. Later
when dlm_send_rcom_lock() constructs a new message and memcpy() the
receive buffer those values will be set on the new constructed message.

Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
H A Dlock.cdiff b9d2f6ada0083bad46f37a1238fea718b575e0fa Tue Aug 01 13:09:47 CDT 2023 Alexander Aring <aahringo@redhat.com> fs: dlm: drop rxbuf manipulation in dlm_recover_master_copy

Currently dlm_recover_master_copy() manipulates the receive buffer of an
rcom lock message and modifies it on the fly so a later memcpy() to a
new rcom message with the same message has those new values. This patch
avoids manipulating the received rcom message by store the values for
the new rcom message in paremter assigned with call by reference. Later
when dlm_send_rcom_lock() constructs a new message and memcpy() the
receive buffer those values will be set on the new constructed message.

Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>