git: nvme - Fix b_resid prior to biodone()

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Jun 5 12:04:10 PDT 2016


commit 9ce8e5e4002ac435d324538d9ab3b1bc21dbfd38
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Jun 5 11:59:47 2016 -0700

    nvme - Fix b_resid prior to biodone()
    
    * Oops, forgot to set b_resid to 0 on a successful I/O prior to biodone().
      Could cause 'dd' tests to EOF early.

Summary of changes:
 sys/dev/disk/nvme/nvme_disk.c | 1 +
 1 file changed, 1 insertion(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9ce8e5e4002ac435d324538d9ab3b1bc21dbfd38


-- 
DragonFly BSD source repository



More information about the Commits mailing list