git: tmpfs - remove most mp->mnt_token cases, kqueue filterops are MPSAFE (2)

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Oct 23 08:16:10 PDT 2013


commit e195a8fe6f1b2ceded1b71e53cecb1fb2647965e
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Oct 23 08:12:29 2013 -0700

    tmpfs - remove most mp->mnt_token cases, kqueue filterops are MPSAFE (2)
    
    * Fix bug introduced in tmpfs_nrename().  The RB tree removal was not being
      guarded by the appropriate node lock.
    
    * Also assert that the directory entry is still present.

Summary of changes:
 sys/vfs/tmpfs/tmpfs_vnops.c | 4 ++++
 1 file changed, 4 insertions(+)

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


-- 
DragonFly BSD source repository


More information about the Commits mailing list