diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2022-02-01 12:26:54 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2022-02-01 13:49:15 +0100 |
commit | ac50419460cc45a66214e6d1c3e9d0d670522f8a (patch) | |
tree | 13f52de96ee1c36f6b1efabb21aba94b1a4742c1 /block/dmg.h | |
parent | 520d8b40e898158bc9a2b416d1cbdb44d2260bc7 (diff) |
block/export/fuse: Rearrange if-else-if ladder in fuse_fallocate()
In order to safely maintain a mixture of #ifdef'ry with if-else-if
ladder, rearrange the last statement (!mode) first. Since it is
mutually exclusive with the other conditions, checking it first
doesn't make any logical difference, but allows to add #ifdef'ry
around in a more cleanly way.
Suggested-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220201112655.344373-2-f4bug@amsat.org>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/dmg.h')
0 files changed, 0 insertions, 0 deletions