git: sys/vfs/hammer: fix off-by-one error in hammer volume-add ioctl
Antonio Huete Jimenez
tuxillo at crater.dragonflybsd.org
Tue Jan 20 04:52:28 PST 2015
commit f1d8913755e416824a51d1851052e9ae399cb69e
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/f1d8913755e416824a51d1851052e9ae399cb69e
--
DragonFly BSD source repository
More information about the Commits
mailing list