sbin/hammer: Fix known bug in full scan recovery mentioned in f2dd4b0c
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Tue, 13 Dec 2016 18:21:42 +0000 (03:21 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Wed, 14 Dec 2016 16:06:51 +0000 (01:06 +0900)
commitfb42c274be41d4f07b703f7ab483b9b0297d9294
tree92c8dece219c2d96bbfe0e7a28e4722faf0949fb
parent642d73b8b4bc56d165ca80babf9757d2b6f7ef68
sbin/hammer: Fix known bug in full scan recovery mentioned in f2dd4b0c

As mentioned in 3d900665, introducing scan range limit by default,
and preserving the original default behavior as full scan mode
worked around a bug mentioned in f2dd4b0c, but possible assertion
error (by having access to not existing volumes) has still been
there as far as full scan mode is concerned.

This commit is to fix that.
sbin/hammer/cmd_recover.c