diff options
author | Soumya Koduri <skoduri@redhat.com> | 2018-12-18 22:07:55 +0530 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2018-12-25 17:36:01 +0000 |
commit | 8fe3c6107a2b431d7cc0b8cfaeeb7941cf9590f9 (patch) | |
tree | 013bc1f5898acb08cc493407f8e44f950cc23605 /xlators | |
parent | 233c909077fb1971e8813240a6161edc30c1e77b (diff) |
gfapi: Access fs->oldvolfile under mutex lock
In some cases (for eg., when there are multiple
RPC_CLNT_CONNECT notifications), multiple threads may fetch
volfile and try to update it in 'fs' object simultaneously.
Hence protect those variables' access under fs->mutex lock.
Change-Id: Idaee9548560db32d83f4c04ebb1f375fee7864a9
fixes: bz#1660577
Signed-off-by: Soumya Koduri <skoduri@redhat.com>
Diffstat (limited to 'xlators')
0 files changed, 0 insertions, 0 deletions