Quoting Flavio Cruz (2016-02-07 07:33:00) > * libnetfs/netfs.h: Use refcount_t. > * libnetfs/make-peropen.c: Initialize to 1 with refcount_init just like in > libdiskfs. > * libnetfs/make-protid.c: Don't increment the count here. Do it like > libdiskfs. > * libnetfs/io-duplicate.c: Add refcount_ref since netfs_make_protid no longer > increments the refcount. > * libnetfs/io-reauthenticate.c: Likewise. > * libnetfs/io-restrict-auth.c: Likewise. > * libnetfs/release-peropen.c: Dereference without locking.
Merged, thanks! Justus