summaryrefslogtreecommitdiff
path: root/cconv.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2015-05-22 09:09:49 -0600
committerJens Axboe <axboe@fb.com>2015-05-22 09:09:49 -0600
commit8e093781f7995bb77ba0dca2835567a8a88972ec (patch)
tree1f658c84f6b16217083ea12f06385496f42e7110 /cconv.c
parente81ecca33755eae1118b009d0d7b4d3c740ffb5f (diff)
cconv: add allow_mounted_write
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'cconv.c')
-rw-r--r--cconv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cconv.c b/cconv.c
index b0becb8..44f17da 100644
--- a/cconv.c
+++ b/cconv.c
@@ -73,6 +73,7 @@ void convert_thread_options_to_cpu(struct thread_options *o,
string_to_cpu(&o->cgroup, top->cgroup);
o->allow_create = le32_to_cpu(top->allow_create);
+ o->allow_mounted_write = le32_to_cpu(top->allow_mounted_write);
o->td_ddir = le32_to_cpu(top->td_ddir);
o->rw_seq = le32_to_cpu(top->rw_seq);
o->kb_base = le32_to_cpu(top->kb_base);
@@ -290,6 +291,7 @@ void convert_thread_options_to_net(struct thread_options_pack *top,
string_to_net(top->cgroup, o->cgroup);
top->allow_create = cpu_to_le32(o->allow_create);
+ top->allow_mounted_write = cpu_to_le32(o->allow_mounted_write);
top->td_ddir = cpu_to_le32(o->td_ddir);
top->rw_seq = cpu_to_le32(o->rw_seq);
top->kb_base = cpu_to_le32(o->kb_base);