git: DragonFly_RELEASE_6_0 hammer2 - Fix panic when /tmp and /var/tmp are nullfs mounts

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Sep 1 16:09:18 PDT 2021


commit b9093133979439b616df1d8b996fc31c11bc7f0f
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Sep 1 16:07:22 2021 -0700

    hammer2 - Fix panic when /tmp and /var/tmp are nullfs mounts
    
    * Certain illegal rename operations can cause a panic() in hammer2
      when /tmp and/or /var/tmp are nullfs mounts into an H2 filesystem.
    
    * Catch the situation, report it, and generate an error code instead
      of panicing.
    
    Reported-by: tuxillo and at least one other person recently

Summary of changes:
 sys/vfs/hammer2/hammer2_xops.c | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

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


-- 
DragonFly BSD source repository


More information about the Commits mailing list