DragonFly BSD
DragonFly commits List (threaded) for 2012-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kernel - Do not allow destroyed namecache entries to be re-resolved


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 24 Aug 2012 17:11:53 -0700 (PDT)

commit 81c4868c0a715c2fe5fc2df73541b8d1dbec80a2
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Fri Aug 24 17:09:58 2012 -0700

    kernel - Do not allow destroyed namecache entries to be re-resolved
    
    * Do not allow a destroyed namecache entry to be re-resolved, as it
      might resolve as a completely different file, or even resolve as
      a file when it was originally a directory and so forth.
    
    * Fixes inconsistencies in the current-dir fields in proc->p_fd.
    
    * Note that most VFS's can't re-resolve a disconnected directory
      anyway but HAMMER1 actually can, so this was causing a problem
      in tests with HAMMER1 (the same tests that originally crashed
      tmpfs were also crashing HAMMER1, but for a different reason).

Summary of changes:
 sys/kern/vfs_cache.c |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/81c4868c0a715c2fe5fc2df73541b8d1dbec80a2


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]