path: root/xlators
diff options
authorYaniv Kaul <>2018-11-06 18:18:30 +0200
committerYaniv Kaul <>2018-11-06 18:33:36 +0200
commitd76611fbba18d3120ac59f8f127981d0c950962a (patch)
tree979c2b3041ffb958a862c428f1d3ce6457dc2cb0 /xlators
parentbab025b08e63afd28cba6a3e2c5e18474904dcd3 (diff)
libglusterfs/src/iobuf.c: don't forget to unlock a mutex
commit ed83a4ee7b73e6b04694d1ac11ed25d2983ac943 changed locking order and forgot to unlock in a negative path (when index was -1). Coverity caught it (thanks!) as CID 1396581: Program hangs (LOCK) Note: I'm unlocking before logging the failure. I think it's the right order - logging can take a while (especially if your disk is slow). Compile-tested only! updates: bz#1193929 Signed-off-by: Yaniv Kaul <> Change-Id: I82ac241edf1d511bf6807cf9c46c538ab9f4acc4
Diffstat (limited to 'xlators')
0 files changed, 0 insertions, 0 deletions