nlm: avoid mutex initialization/destroy in assert

Since assert is processed only in debug builds, have updated with
new macros for state_mutex initialization and destroy.

(Note: Not sure if this mutex is used anywhere else in NLM
code-path. But better to handle it.)

Change-Id: Icf5481a1f74d9fce408beeb7b996ba118cf763d9
Signed-off-by: Soumya Koduri <skoduri@redhat.com>
1 file changed
tree: d8827d260333cd74c12f9c1c482f63a05d066432
  1. contrib/
  2. coverity/
  3. jenkins/
  4. src/
  5. .gitignore
  6. .gitmodules
  7. .gitreview
  8. .mailmap
  9. .travis.yml
  10. README.md
README.md

Coverity Scan Build Status nfs-ganesha

NFS-Ganesha is an NFSv3,v4,v4.1 fileserver that runs in user mode on most UNIX/Linux systems. It also supports the 9p.2000L protocol.

For more information, consult the project wiki.