diff options
author | Eric Blake <eblake@redhat.com> | 2017-05-06 19:05:41 -0500 |
---|---|---|
committer | Max Reitz <mreitz@redhat.com> | 2017-05-11 14:28:06 +0200 |
commit | b32cbae11107e9e172e5c58425a2a8362e7382ed (patch) | |
tree | cdcc5778dc3c6122a381bd6006e81cf8868c076c /qobject | |
parent | 40812d937392fddc11f72a668aef251039cc15ce (diff) | |
download | qemu-b32cbae11107e9e172e5c58425a2a8362e7382ed.zip qemu-b32cbae11107e9e172e5c58425a2a8362e7382ed.tar.gz qemu-b32cbae11107e9e172e5c58425a2a8362e7382ed.tar.bz2 |
qcow2: Nicer variable names in qcow2_update_snapshot_refcount()
In order to keep checkpatch happy when the next patch changes
indentation, we first have to shorten some long lines. The easiest
approach is to use a new variable in place of
'offset & L2E_OFFSET_MASK', except that 'offset' is the best name
for that variable. Change '[old_]offset' to '[old_]entry' to
make room.
While touching things, also fix checkpatch warnings about unusual
'for' statements.
Suggested by Max Reitz <mreitz@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
Message-id: 20170507000552.20847-2-eblake@redhat.com
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'qobject')
0 files changed, 0 insertions, 0 deletions