Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rgw_file.h: fix potential data race condition
Fix for: CID 1399581 (#1 of 1): Data race condition (MISSING_LOCK) missing_lock: Accessing this->state.atime without holding lock rgw::RGWFileHandle.mtx. Elsewhere, "_ZN3rgw13RGWFileHandle5StateE.atime" is accessed with rgw::RGWFileHandle.mtx held 2 out of 3 times (2 of these accesses strongly imply that it is necessary). Signed-off-by: Danny Al-Gaaf <[email protected]>
- Loading branch information