commit 5126288c8cb02f6584243cc34bab3b62a3eae20a
Author: Sascha Wildner <[email protected]>
Date:   Sun Feb 16 23:51:16 2014 +0100

    kernel/nataraid: Fix a bug for array sizes >2TB.
    
    The overall array size (total_sectors) in the softc was already 64 bit
    wide but due to a missing cast when multiplying the 32 bit disk size
    by the number of disks, it never became larger than 32 bits.
    
    Also, the disk size was signed when it should have been unsigned.
    
    Note that these fixes apply to RAIDs created using natacontrol(8), but
    not necessarily to those created with BIOS utilities.
    
    Reported-by: Aaron Bieber <[email protected]>

Summary of changes:
 sys/dev/disk/nata/ata-raid.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5126288c8cb02f6584243cc34bab3b62a3eae20a


-- 
DragonFly BSD source repository

Reply via email to