diff options
author | Krutika Dhananjay <kdhananj@redhat.com> | 2018-07-26 21:47:24 +0530 |
---|---|---|
committer | Raghavendra G <rgowdapp@redhat.com> | 2018-08-02 02:58:34 +0000 |
commit | fe5d8d3643c2bc2fdb95b0351b26fb286cf778b7 (patch) | |
tree | d955cf46b2c7761f8e06677d2033bea96c9219c1 /xlators/performance/write-behind | |
parent | e91bffad97da117f2c4eb8db45ab7874e59addf5 (diff) |
socket: Remove code duplication
While I was reading code, I saw that socket_submit_request()
and socket_submit_reply() are identical except for @a_byte and
the source of @msg object being different.
This patch moves all of the common code to a new function with
the differing vars passed as parameters by the callers.
Change-Id: I7a62ae72f10c34dc8de01b250d89a77ec5ab490d
fixes: bz#1608991
Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com>
Diffstat (limited to 'xlators/performance/write-behind')
0 files changed, 0 insertions, 0 deletions