Re: [PATCH] libdiskfs: fix and improve locking in nrefs/nput.

2016-02-14 Thread Justus Winter
Quoting Flavio Cruz (2016-02-15 00:37:16) > * libnetfs/node-nput.c: Do not unlock the node since it will be unlocked > later. > * libnetfs/node-nrele.c: Do not lock the node twice if not needed. Good one :) Merged, thanks! Justus

[PATCH] libdiskfs: fix and improve locking in nrefs/nput.

2016-02-14 Thread Flavio Cruz
* libnetfs/node-nput.c: Do not unlock the node since it will be unlocked later. * libnetfs/node-nrele.c: Do not lock the node twice if not needed. --- libdiskfs/node-nput.c | 1 - libdiskfs/node-nrele.c | 8 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/libdiskfs/node-np