[Bugs] [Bug 1771448] New: libglusterfs/gidcache.c : missing unlock
bugzilla at redhat.com
bugzilla at redhat.com
Tue Nov 12 11:48:26 UTC 2019
https://bugzilla.redhat.com/show_bug.cgi?id=1771448
Bug ID: 1771448
Summary: libglusterfs/gidcache.c : missing unlock
Product: GlusterFS
Version: mainline
Status: NEW
Component: core
Assignee: bugs at gluster.org
Reporter: xijinyu0811 at 163.com
CC: bugs at gluster.org
Target Milestone: ---
Classification: Community
Description of problem:
{
LOCK(&cache->gc_lock);
......
for (i = 0; i < AUX_GID_CACHE_ASSOC; i++, agl++) {
if (!agl->gl_list)
continue;
if (agl->gl_id != id)
continue;
if (agl->gl_uid != uid || agl->gl_gid != gid)
break;
if (now < agl->gl_deadline) { //Missing unlock
return agl;
}
break;
}
UNLOCK(&cache->gc_lock);
return NULL;
}
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info:
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list