git: kernel - Fix ESTALE handling in stat() and access()

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Nov 18 10:43:45 PST 2013


commit 27e6b4d549ed101d9d209f003041b80053969e8a
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Nov 18 10:42:08 2013 -0800

    kernel - Fix ESTALE handling in stat() and access()
    
    * ESTALE could cause a panic due to shared namecache lock.  Relock
      the ncp exclusively when forcing re-resolution of the ncp due to
      ESTALE.
    
      ESTALE can occur on NFS mounts.
    
    Reported-by: thesjg

Summary of changes:
 sys/kern/vfs_syscalls.c | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/27e6b4d549ed101d9d209f003041b80053969e8a


-- 
DragonFly BSD source repository



More information about the Commits mailing list