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

Simple merge