osdc: unregister_linger() takes write lock

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>