diff options
author | Xavi Hernandez <xhernandez@redhat.com> | 2020-08-19 23:27:38 +0200 |
---|---|---|
committer | MOHIT AGRAWAL <moagrawa@redhat.com> | 2020-08-20 11:54:32 +0000 |
commit | 742358ec1ab488a092d1fd9b2b47c717b627181e (patch) | |
tree | 8c62dd6273342969847c9b52466f77e3b1d570e4 /xlators/storage | |
parent | fe3a83ecb06bab21b61d64f1c1bcbaa11aca7e80 (diff) | |
download | glusterfs-742358ec1ab488a092d1fd9b2b47c717b627181e.tar.gz glusterfs-742358ec1ab488a092d1fd9b2b47c717b627181e.tar.xz glusterfs-742358ec1ab488a092d1fd9b2b47c717b627181e.zip |
open-behind: fix call_frame leak
When an open was delayed, a copy of the frame was created because the
current frame was used to unwind the "fake" open. When the open was
actually sent, the frame was correctly destroyed. However if the file
was closed before needing to send the open, the frame was not destroyed.
This patch correctly destroys the frame in all cases.
Change-Id: I8c00fc7f15545c240e8151305d9e4cf06d653926
Signed-off-by: Xavi Hernandez <xhernandez@redhat.com>
Fixes: #1440
Diffstat (limited to 'xlators/storage')
0 files changed, 0 insertions, 0 deletions