Revert "options: move pattern_fmt_desc where we need it"
authorJens Axboe <axboe@fb.com>
Tue, 15 Mar 2016 15:48:25 +0000 (09:48 -0600)
committerJens Axboe <axboe@fb.com>
Tue, 15 Mar 2016 15:48:25 +0000 (09:48 -0600)
commit4205998f8be13752f9857ef6e28b6c7f86a3c769
tree41d468eb979982cfccc2da3a78683f2dfefa0ef3
parent5f2f35697b1559cc4fff47c7c94cb983e6f2a460
Revert "options: move pattern_fmt_desc where we need it"

This reverts commit 5f3bd0fd67254e3750681f0700a0cc162faee500.

We do need it to be globally reachable, otherwise we assign a
pointer to an on-stack structure. This causes the pattern filling
to read garbage, and segfault.

Signed-off-by: Jens Axboe <axboe@fb.com>
options.c