git: kernel - Fix old UFS optimization that should no longer be used

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Dec 27 16:44:39 PST 2014


commit 04d03a3b0eb543589ba1cc87405a218e50b5e93b
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Dec 27 16:41:06 2014 -0800

    kernel - Fix old UFS optimization that should no longer be used
    
    * Fix bcopy() calls which cover two fields in the UFS dinode.  Modern
      compilers may barf on the intentional field overflow.
    
    * Also needed for UFS2 support (but we don't have it so this is more
      to fix possible future issues that might arise).
    
    Submitted-by: Pedro Giffuni

Summary of changes:
 sys/vfs/ufs/ffs_inode.c | 22 ++++++++++++++++------
 1 file changed, 16 insertions(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/04d03a3b0eb543589ba1cc87405a218e50b5e93b


-- 
DragonFly BSD source repository



More information about the Commits mailing list