projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7746976
)
null: make *impl_ private
author
Tomohiro Kusumi
<tkusumi@tuxera.com>
Mon, 15 Jan 2018 19:52:11 +0000
(21:52 +0200)
committer
Jens Axboe
<axboe@kernel.dk>
Tue, 16 Jan 2018 15:32:37 +0000
(08:32 -0700)
This can/should be private, given struct is default public in C++.
The null ioengine only needs access to new'd NullData which
encapsulates malloc'd null_data *impl_.
Signed-off-by: Tomohiro Kusumi <tkusumi@tuxera.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
engines/null.c
patch
|
blob
|
blame
|
history
diff --git
a/engines/null.c
b/engines/null.c
index 47f290548ceafb39763b9bfd5cf08a29aa7f2e06..cf1ee1f2e433cd92836725d991c849e70769a991 100644
(file)
--- a/
engines/null.c
+++ b/
engines/null.c
@@
-213,6
+213,7
@@
struct NullData {
return null_open(impl_, f);
}
+private:
struct null_data *impl_;
};