sys/vfs/hammer: Fix off-by-one for snapshot index
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sat, 18 Apr 2015 18:42:43 +0000 (03:42 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sun, 19 Apr 2015 09:50:51 +0000 (18:50 +0900)
commita81b0b4410c17439a1e103cf8778622856c53bc3
tree1dcce40ea7260e9c0b998be0da4e40cf5ea0ccbe
parent3585f0f18f04cf92441b49cf52b1cf36aa8bcc90
sys/vfs/hammer: Fix off-by-one for snapshot index

- The index starts from 0 so these ioctls should test 'index >= count'.
sys/vfs/hammer/hammer_ioctl.c