git: tmpfs - Fix lost vnode reference due to race

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Jun 10 20:31:18 PDT 2021


commit 79721fbfeb6bdfbe11b325bd5c215751bac54a60
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/79721fbfeb6bdfbe11b325bd5c215751bac54a60


-- 
DragonFly BSD source repository


More information about the Commits mailing list