]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita8ddc39ca8d560e7114a573d60cda1c6435df920
tree1716c3caf8c5d6c10aa139bdbb75d93af30fc0b2
parentc5948847805934828cf18668f5bdbcd95d3e0990
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