sheepdog: Make sd_prealloc() take a BDS
commit8b9ad56e9cbfd852af53090d18bb32e94b539253
authorMax Reitz <mreitz@redhat.com>
Tue, 13 Feb 2018 13:03:54 +0000 (13 14:03 +0100)
committerKevin Wolf <kwolf@redhat.com>
Tue, 13 Feb 2018 15:18:37 +0000 (13 16:18 +0100)
tree3423c76655f707088ef94207df376c790d58e474
parentc3132aff174ea35dd78bc8828fd79c28f9bc9a65
sheepdog: Make sd_prealloc() take a BDS

We want to use this function in sd_truncate() later on, so taking a
filename is not exactly ideal.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/sheepdog.c