OpenAFS Master Repository branch, openafs-stable-1_4_x, updated. 25e708f0f5ebe01060b3f40123b3aeeec8d76bb1
Gerrit Code Review
gerrit@openafs.org
Wed, 16 Dec 2009 22:18:23 -0800 (PST)
The following commit has been merged in the openafs-stable-1_4_x branch:
commit 25e708f0f5ebe01060b3f40123b3aeeec8d76bb1
Author: Simon Wilkinson <sxw@inf.ed.ac.uk>
Date: Mon Nov 16 22:52:01 2009 +0000
Linux: Fix lock ordering
The inode mutex (or semaphore) should be held before acquiring the
alloc semaphore. Fix the lock ordering to avoid theoretical deadlocks.
Change-Id: Ifc572083dc92fff51be6785b0bcc92152fab1d73
Reviewed-on: http://gerrit.openafs.org/835
Reviewed-by: Marc Dionne <marc.c.dionne@gmail.com>
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit a2744cab12c87a8c42ba40a9f186a1f05c6886f8)
Reviewed-on: http://gerrit.openafs.org/977
src/afs/LINUX/osi_file.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
--
OpenAFS Master Repository