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

Sure. Without this cleanups, use of fcntl locking cause panic, see ASSERT(vp->v_filocks == NULL) in vn_free(). I guess no one tried to lock /etc/dfs/sharetab before, but I tried for some reason I don't even remember :)