git: tmpfs - Fix readdir race

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Oct 23 11:07:22 PDT 2013


commit f5f22af6200b5b3502d008cb8f365cec14374e10
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Oct 23 11:01:30 2013 -0700

    tmpfs - Fix readdir race
    
    * The original cookie cache does not play nice with shared locks.
      Replace it with a second RB tree, indexed by cookie.

Summary of changes:
 sys/vfs/tmpfs/tmpfs.h       | 103 +++++++++++++-------------------------------
 sys/vfs/tmpfs/tmpfs_subr.c  |  92 +++++++++++++++++++++++++++------------
 sys/vfs/tmpfs/tmpfs_vnops.c |  15 +++++--
 3 files changed, 106 insertions(+), 104 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list