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

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


commit 7f64253a9fb2219775f8855e8c882f1130852d4a
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/7f64253a9fb2219775f8855e8c882f1130852d4a


-- 
DragonFly BSD source repository



More information about the Commits mailing list