options: check for conflict between trims and readonly option
authorVincent Fu <vincent.fu@wdc.com>
Fri, 15 Jun 2018 21:52:43 +0000 (15:52 -0600)
committerVincent Fu <vincent.fu@wdc.com>
Mon, 18 Jun 2018 19:37:14 +0000 (13:37 -0600)
commitd81d0f992bb3f12be22311b81b6b0b209e42c33b
treeda827ceb9493be031e198512fbd1cd575fb76ca1
parentc0e9a23844dd78a0dd07ab72f59114089e639e74
options: check for conflict between trims and readonly option

When processing the readwrite option, make sure that trim operations
are not requested if readonly is set.
options.c