diff options
author | Ilya Dryomov <idryomov@gmail.com> | 2017-01-25 18:16:22 +0100 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2017-02-20 12:16:14 +0100 |
commit | 263423f8adf4acbdc4fd26ed5b35f4a6408bc0ab (patch) | |
tree | e4fd15b54785a9134977259346cd01e67bc988c9 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 5bc3fb177548503735bcc35fe98475d883740ecb (diff) |
rbd: introduce rbd_init_layout()
Rather than initializing layout fields with some made up values in
__rbd_dev_create(), move the initialization into rbd_init_layout() and
call it after the header is actually populated.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions