diff options
author | Kinglong Mee <kinglongmee@gmail.com> | 2019-04-12 11:35:55 +0800 |
---|---|---|
committer | Pranith Kumar Karampuri <pkarampu@redhat.com> | 2019-04-12 11:37:45 +0000 |
commit | 0e1223491e964096384edfae5032ed0d50d028ad (patch) | |
tree | e390444242a7482733e19e1faa2bc5c761e22ed9 /libglusterfs/src | |
parent | 3140f7d8663da3879be7974e40407d817c570e90 (diff) |
ec: fix truncate lock to cover the write in tuncate clean
ec_truncate_clean does writing under the lock granted for truncate,
but the lock is calculated by ec_adjust_offset_up, so that,
the write in ec_truncate_clean is out of lock.
Updates: bz#1699189
Change-Id: Idbe1fd48d26afe49c36b77db9f12e0907f5a4134
Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Diffstat (limited to 'libglusterfs/src')
0 files changed, 0 insertions, 0 deletions