]> sourceware.org Git - lvm2.git/commitdiff
thin: tighten discard string conversions
authorAlasdair G Kergon <agk@redhat.com>
Tue, 7 Aug 2012 17:37:35 +0000 (18:37 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Tue, 7 Aug 2012 17:37:35 +0000 (18:37 +0100)
Respond with "unknown" rather than a NULL pointer if there's an
internal error and the discard value is invalid.

Don't accept 'no_passdown' or 'no-passdown' variants in the LVM
metadata: this is written by the program so should only ever contain
"nopassdown" and should be validated strictly against that.


No differences found
This page took 0.032791 seconds and 5 git commands to generate.