diff options
author | Jeff Cody <jcody@redhat.com> | 2012-09-20 15:13:20 -0400 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2012-09-24 15:15:11 +0200 |
commit | fc32a72dc19a79f7e16156784b1e76a128d41841 (patch) | |
tree | caffb5c894f8d9ed19801b265685839496c74a56 /memory_mapping.c | |
parent | e971aa12739f269d6fbfaeabdd4acaeb0f15960b (diff) |
block: move aio initialization into a helper function
Move AIO initialization for raw-posix block driver into a helper function.
In addition to just code motion, the aio_ctx pointer is checked for NULL,
prior to calling laio_init(), to make sure laio_init() is only run once.
Signed-off-by: Jeff Cody <jcody@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'memory_mapping.c')
0 files changed, 0 insertions, 0 deletions