Re: [sheepdog] [PATCH] bs_sheepdog.c: fix pthread rwlock leak in sd_io()

2013-10-31 Thread FUJITA Tomonori
On Thu, 31 Oct 2013 10:31:27 +0900 Ryusuke Konishi konishi.ryus...@lab.ntt.co.jp wrote: The current sd_io function exits without unlocking pthread rwlock in the error path. This fixes the leak bug. Signed-off-by: Ryusuke Konishi konishi.ryus...@lab.ntt.co.jp --- usr/bs_sheepdog.c |3

[sheepdog] [PATCH] bs_sheepdog.c: fix pthread rwlock leak in sd_io()

2013-10-30 Thread Ryusuke Konishi
The current sd_io function exits without unlocking pthread rwlock in the error path. This fixes the leak bug. Signed-off-by: Ryusuke Konishi konishi.ryus...@lab.ntt.co.jp --- usr/bs_sheepdog.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/usr/bs_sheepdog.c

Re: [sheepdog] [PATCH] bs_sheepdog.c: fix pthread rwlock leak in sd_io()

2013-10-30 Thread Hitoshi Mitake
At Thu, 31 Oct 2013 10:31:27 +0900, Ryusuke Konishi wrote: The current sd_io function exits without unlocking pthread rwlock in the error path. This fixes the leak bug. Signed-off-by: Ryusuke Konishi konishi.ryus...@lab.ntt.co.jp Looks good to me, thanks. Reviewed-by: Hitoshi Mitake