]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Linux: drop GLOCK before calling dput
authorMarc Dionne <marc.c.dionne@gmail.com>
Thu, 6 Sep 2012 00:25:55 +0000 (20:25 -0400)
committerPaul Smeddle <paul.smeddle@gmail.com>
Wed, 5 Dec 2012 17:30:40 +0000 (09:30 -0800)
commit058c412040dc0e477734c228088a9696fd927de0
treeee3311b46a496d9e3b93a0ca6f6efb236163cfd8
parentbbc6ee905850a8288e89b256ff432836388592cc
Linux: drop GLOCK before calling dput

Holding the GLOCK when calling dput can result in a deadlock when
the kernel calls back into afs_dentry_iput.  It should be safe
to drop the lock here.

Reviewed-on: http://gerrit.openafs.org/8046
Reviewed-by: Simon Wilkinson <simonxwilkinson@gmail.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Tested-by: Derrick Brashear <shadow@your-file-system.com>
(cherry picked from commit 0dac4de8eee84a43ef06c56dfc867c2a1b9a9f0c)

Change-Id: Ide1dfc73ebc5fa207c19be1c16db9910cf66bea3
Reviewed-on: http://gerrit.openafs.org/8561
Reviewed-by: Ken Dreyer <ktdreyer@ktdreyer.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
Tested-by: Stephan Wiesand <stephan.wiesand@desy.de>
Reviewed-by: Paul Smeddle <paul.smeddle@gmail.com>
src/afs/afs_pioctl.c