commit | 119cd939010b646825d06ac04af41dc5268f2765 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Thu Dec 06 17:34:57 2012 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Dec 06 17:34:57 2012 +0100 |
tree | 252051af010c681f7a25128f4f5b5643e14c478e | |
parent | 595e17349ca6b5cb8562689a12c0cc0b551c35da [diff] |
parser: always match the correct option length for posval options Right now we match rw=randr as rw=randrw, since we use the length of the passed in option. Use a correct max of the ival and string passed in, so that we fail if a full match isn't present. Signed-off-by: Jens Axboe <axboe@kernel.dk>