Max Reitz f3a33f795c gluster: Query current size in do_truncate()
Instead of expecting the current size to be 0, query it and allocate
only the area [current_size, offset) if preallocation is requested.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2018-02-13 16:18:33 +01:00
..
2017-12-22 15:05:32 +01:00
2017-12-18 10:54:13 -05:00
2016-10-07 14:14:06 +02:00
2018-02-08 09:22:03 +08:00
2018-02-09 05:05:11 +01:00
2016-06-07 18:19:24 +03:00
2017-07-17 11:34:11 +08:00
2018-02-08 09:22:03 +08:00
2016-09-23 11:42:52 +08:00
2017-08-31 12:29:07 +02:00