git: kernel - Fix UFS bug on filesystem full conditions

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Mar 29 22:13:52 PDT 2018


commit ee4e54d22da898599e2fcd6b95cfc34cd531d1ac
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Mar 29 22:12:35 2018 -0700

    kernel - Fix UFS bug on filesystem full conditions
    
    * UFS was not properly translating the lbn to a block offset
      when trying to back-out an indirect block allocation during
      a write() which fails due to lack of space.
    
    * Fixes a panic which could occur in the above situation.
    
    Reported-by: Aaron LI

Summary of changes:
 sys/vfs/ufs/ffs_balloc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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


-- 
DragonFly BSD source repository


More information about the Commits mailing list