commit | 9c62acd93cd70b6bfd01892b59926c4fb2a3639b | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@fb.com> | Tue Dec 09 12:58:15 2014 -0700 |
committer | Mohamad Ayyash <mkayyash@google.com> | Fri Mar 06 17:58:07 2015 -0800 |
tree | eb238ed806c060e36273f5c2884fc13f1e7ac029 | |
parent | c88db25ac86df14017ecf3f64a2f11164a0af5f2 [diff] |
options: add support for checking if an option has been set We often just do a non-zero check, but an option can be set and be set to zero, so we can't currently detect that. For complicated options, we add a second variable to mark if it has been set or not. This allows us to directly check if a given option was set by the user or not. Signed-off-by: Jens Axboe <axboe@fb.com>