block/ssh: Pull ssh_grow_file() from ssh_create()
commit2b12a756ac2a5d3af5aa8116e3a3e62a1501ad61
authorMax Reitz <mreitz@redhat.com>
Wed, 14 Feb 2018 20:49:13 +0000 (14 21:49 +0100)
committerMax Reitz <mreitz@redhat.com>
Fri, 2 Mar 2018 17:39:56 +0000 (2 18:39 +0100)
tree36c7c5bbe1054200e10e2e78a9ed84d49f42f02b
parentbe8fbd476393089f21e6ee9086d6d3dad8cb4f3d
block/ssh: Pull ssh_grow_file() from ssh_create()

If we ever want to offer even rudimentary truncation functionality for
ssh, we should put the respective code into a reusable function.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-id: 20180214204915.7980-2-mreitz@redhat.com
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Richard W.M. Jones <rjones@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
block/ssh.c