commit | 9cf8bd529c6ba81402ebf6b7a56307b0787e4f93 | [log] [tgz] |
---|---|---|
author | Dan Williams <dan.j.williams@intel.com> | Thu Dec 15 20:04:31 2016 -0800 |
committer | Dan Williams <dan.j.williams@intel.com> | Thu Dec 15 20:04:31 2016 -0800 |
tree | f53a27f54dbdec467905608fa1585a3e5b7b6e67 | |
parent | af7d9f0c57941b465043681cb5c3410f7f3f1a41 [diff] |
libnvdimm: replace mutex_is_locked() warnings with lockdep_assert_held For warnings that should only ever trigger during development and testing replace WARN statements with lockdep_assert_held. The lockdep pattern is prevalent, and these paths are are well covered by libnvdimm unit tests. Reported-by: Johannes Thumshirn <jthumshirn@suse.de> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Dan Williams <dan.j.williams@intel.com>