git: DragonFly_RELEASE_6_0 tmpfs - Fix lost vnode reference due to race

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Jun 14 14:14:14 PDT 2021


commit 066c1cd83ce64e0a391149c558c4d31b30225cc6
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Jun 10 20:16:15 2021 -0700

    tmpfs - Fix lost vnode reference due to race
    
    * Under certain race conditions when a vget() fails and must
      retry, the vnode is not completely unwound and an extra ref
      is left on it.
    
    * Can cause files in tmpfs to build-up and eat space even if deleted.
    
    * Relatively rare.

Summary of changes:
 sys/vfs/tmpfs/tmpfs_subr.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/066c1cd83ce64e0a391149c558c4d31b30225cc6


-- 
DragonFly BSD source repository



More information about the Commits mailing list