qemu-img: Improve documentation for PREALLOC_MODE_FALLOC
authorNir Soffer <nirsof@gmail.com>
Fri, 17 Feb 2017 00:51:27 +0000 (02:51 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 24 Feb 2017 15:09:23 +0000 (16:09 +0100)
commitc6ccc2c5e6a58a847f51075abfef20e212c1a3e5
treede31e895999cfacd8fee6aba614fb28af93e3330
parent5a1dad9d5a5777c4883de78d9f35bd8141175798
qemu-img: Improve documentation for PREALLOC_MODE_FALLOC

Now that we are truncating the file in both PREALLOC_MODE_FULL and
PREALLOC_MODE_OFF, not truncating in PREALLOC_MODE_FALLOC looks odd.
Add a comment explaining why we do not truncate in this case.

Signed-off-by: Nir Soffer <nirsof@gmail.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/file-posix.c