Re: [Qemu-devel] [RFC 3/5] block: Fall back to fallback truncate function

2019-07-12 Thread Max Reitz
On 12.07.19 12:04, Kevin Wolf wrote: > Am 11.07.2019 um 21:58 hat Max Reitz geschrieben: >> file-posix does not need to basically duplicate our fallback truncate >> implementation; and sheepdog can fall back to it for "shrinking" files. >> >> Signed-off-by: Max Reitz >> --- >> block/file-posix.c

Re: [Qemu-devel] [RFC 3/5] block: Fall back to fallback truncate function

2019-07-12 Thread Kevin Wolf
Am 11.07.2019 um 21:58 hat Max Reitz geschrieben: > file-posix does not need to basically duplicate our fallback truncate > implementation; and sheepdog can fall back to it for "shrinking" files. > > Signed-off-by: Max Reitz > --- > block/file-posix.c | 21 + > block/sheepdog

[Qemu-devel] [RFC 3/5] block: Fall back to fallback truncate function

2019-07-11 Thread Max Reitz
file-posix does not need to basically duplicate our fallback truncate implementation; and sheepdog can fall back to it for "shrinking" files. Signed-off-by: Max Reitz --- block/file-posix.c | 21 + block/sheepdog.c | 2 +- 2 files changed, 2 insertions(+), 21 deletions(-)