LOCKD: Fix a deadlock in nlm_traverse_files()
commit01df9c5e918ae5559f2d96da0143f8bfbb9e6171
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 10 Aug 2006 15:58:57 +0000 (10 11:58 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 24 Aug 2006 19:51:00 +0000 (24 15:51 -0400)
tree1716c3caf8c5d6c10aa139bdbb75d93af30fc0b2
parent8f8e7a50f450fcb86a5b2ffb94543c57a14f8260
LOCKD: Fix a deadlock in nlm_traverse_files()

nlm_traverse_files() is not allowed to hold the nlm_file_mutex while calling
nlm_inspect file, since it may end up calling nlm_release_file() when
releaseing the blocks.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
(cherry picked from e558d3cde986e04f68afe8c790ad68ef4b94587a commit)
fs/lockd/svcsubs.c