git: kernel - Fix deadlock in tmpfs

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Feb 22 13:04:42 PST 2013


commit aa21b4baec3e6517aa9c6ff072635123cb021f74
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Feb 22 13:01:45 2013 -0800

    kernel - Fix deadlock in tmpfs
    
    * If the pageout daemon is paging out a file on a tmpfs mount concurrent
      with an unmount of same, a deadlock can occur.
    
    * Fix the node vs vnode lock order in the tmpfs umount code.

Summary of changes:
 sys/vfs/tmpfs/tmpfs_vfsops.c | 34 ++++++++++++++++++++++++++--------
 1 file changed, 26 insertions(+), 8 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/aa21b4baec3e6517aa9c6ff072635123cb021f74


-- 
DragonFly BSD source repository


More information about the Commits mailing list