git: DragonFly_RELEASE_4_0 sys/vfs/hammer: fix off-by-one error in hammer volume-add ioctl

Antonio Huete Jimenez tuxillo at crater.dragonflybsd.org
Tue Jan 20 10:06:07 PST 2015


commit 5a0363ee344946d27180bfcef966be34efec7d1b
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Mon Jan 19 03:26:47 2015 +0900

    sys/vfs/hammer: fix off-by-one error in hammer volume-add ioctl
    
    - This patch should fix off-by-one error regarding maximum volume number.
    - Correct how hammer_ioc_volume_add() tests current # of volumes before
      it adds a new volume.
    
    Closes: #2773

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

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5a0363ee344946d27180bfcef966be34efec7d1b


-- 
DragonFly BSD source repository



More information about the Commits mailing list