diff options
author | N Balachandran <nbalacha@redhat.com> | 2019-09-25 19:50:27 +0530 |
---|---|---|
committer | N Balachandran <nbalacha@redhat.com> | 2019-09-25 19:54:43 +0530 |
commit | 0c2d25956b022cb61f0b62873c97b7346ef7c4c3 (patch) | |
tree | c188b3f1644713ce79d130b232527900d01ba89f /xlators/storage/posix | |
parent | 41a0f2aa755ec7162facd30209f2fa3f40308766 (diff) |
perf/write-behind: Clear frame->local on conflict error
WB saves the wb_inode in frame->local for the truncate and
ftruncate fops. This value is not cleared in case of error
on a conflicting write request. FRAME_DESTROY finds a non-null
frame->local and tries to free it using mem_put. However,
wb_inode is allocated using GF_CALLOC, causing the
process to crash.
credit: vpolakis@gmail.com
Change-Id: I217f61470445775e05145aebe44c814731c1b8c5
Fixes: bz#1753592
Signed-off-by: N Balachandran <nbalacha@redhat.com>
Diffstat (limited to 'xlators/storage/posix')
0 files changed, 0 insertions, 0 deletions