goptions: use gopt->gjv for option hiding
authorJens Axboe <axboe@kernel.dk>
Sat, 24 Mar 2012 19:35:16 +0000 (20:35 +0100)
committerJens Axboe <axboe@kernel.dk>
Sat, 24 Mar 2012 19:35:16 +0000 (20:35 +0100)
commit19921181dc8e92ce5320fa32fcb385df9c20a350
treeb80b40b853eb44b15f39f9d01fa1aca9048c1f35
parent8b3a476e6897370b0d7ed05de559cc49235b7a61
goptions: use gopt->gjv for option hiding

We can't rely on gui_data for the gjv lookup, since it'll be
different for each job tab. Instead use the cached value
in the gopt structure, since that is allocate for each client.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
goptions.c