szastupov/illumos-gate — comment on commit a9eb21a01f52130ad60c21096ff7e85cedf6c324
File: usr/src/uts/common/fs/sharefs/sharefs_vnops.c line 281
By dan-kruchinin:

All this logic around count looks unfamiliar to me. Should we clean locks and share reservations before if (count > 1)?
What does the count means and in what cases it is greater than 1?