aboutsummaryrefslogtreecommitdiff
path: root/block/Makefile.objs
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2016-09-05 10:50:44 +0800
committerMax Reitz <mreitz@redhat.com>2016-10-07 14:14:06 +0200
commitdffa41b48651c4002af02e80b7459e56a77152c7 (patch)
tree909495655b4efc4182f9814d634d89ca8188996e /block/Makefile.objs
parent159975f38b2c88cd7b1fef511ba86dd7266a9f4e (diff)
module: Don't load the same module if requested multiple times
Use a hash table to keep record of all loaded modules, and return early if the requested module is already loaded. Signed-off-by: Fam Zheng <famz@redhat.com> Message-id: 1473043845-13197-3-git-send-email-famz@redhat.com Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'block/Makefile.objs')
0 files changed, 0 insertions, 0 deletions