git: tmpfs - Fix deadlock

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Oct 23 09:42:38 PDT 2013


commit 833d1222afa0bc6fc0c9e12ad0bf90067e700b34
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Oct 23 09:41:22 2013 -0700

    tmpfs - Fix deadlock
    
    * Fix deadlock introduced in recent commits.  Do not recurse shared locks
      on tmpfs nodes as this can deadlock against an exclusive requester.

Summary of changes:
 sys/vfs/tmpfs/tmpfs_subr.c | 24 +++++++++++-------------
 1 file changed, 11 insertions(+), 13 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/833d1222afa0bc6fc0c9e12ad0bf90067e700b34


-- 
DragonFly BSD source repository



More information about the Commits mailing list