HomeFreeBSD

Correctly parse -R flag arguments

Description

Correctly parse -R flag arguments

Currently, only the 'b' flag takes an argument which is an offset into
the block at which a blkptr should be decoded. The index into the flag
string needed to be updated after parsing an argument.

Signed-off-by: Tim Chase <tim@chase2k.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #4304

Details

Provenance
Tim Chase <tim@chase2k.com>Authored on Feb 3 2016, 4:07 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Feb 5 2016, 7:29 PM
Parents
rG7c9abfa7ab0b: Illumos 6537 - Panic on zpool scrub with DEBUG kernel
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGe989f19cba2b: Correctly parse -R flag arguments (authored by Tim Chase <tim@chase2k.com>).Feb 5 2016, 7:29 PM