]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
kvm tools: Fix function names in qcow.c
authorPrasad Joshi <prasadjoshi124@gmail.com>
Fri, 15 Apr 2011 14:18:55 +0000 (15:18 +0100)
committerPekka Enberg <penberg@kernel.org>
Sat, 16 Apr 2011 09:21:52 +0000 (12:21 +0300)
commit56c9dbe428d541c9b78eff4ddf9d672375d7390c
tree996982d92466aa259b0c818063952d977a393c20
parent0578ad0a43554bfc06e908388b930d333a919a7c
kvm tools: Fix function names in qcow.c

The function name sect_to_l1_offset() is changed to get_l1_index() as it
returns the l1 table index rather than offset.

Also change

    - sect_to_l2_offset to get_l2_index
    - sect_to_cluster_offset to get_cluster_offset

Signed-off-by: Prasad Joshi <prasadjoshi124@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/qcow.c