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-06-16 07:55:00 +08:00
2017-12-18 10:54:13 -05:00
2018-02-09 13:52:16 +01:00
2017-06-26 14:54:46 +02:00
2018-02-09 13:52:16 +01:00
2018-02-09 13:52:16 +01:00
2017-11-17 13:35:59 +01:00
2017-11-17 13:35:59 +01:00
2017-12-22 15:05:32 +01:00
2018-02-09 12:32:44 -06:00
2017-07-11 17:44:56 +02:00
2018-02-09 13:52:16 +01:00
2017-12-18 10:54:13 -05:00
2016-10-07 14:14:06 +02:00
2017-11-17 13:35:59 +01:00
2017-12-18 17:07:02 +03:00
2018-02-09 12:32:44 -06:00
2018-02-09 13:52:16 +01:00
2018-02-13 16:18:33 +01:00
2018-02-08 09:22:03 +08:00
2018-02-09 13:52:16 +01:00
2018-02-09 12:32:44 -06:00
2017-02-21 11:39:39 +00:00
2018-02-08 09:22:03 +08:00
2017-11-29 15:11:02 +01:00
2017-11-17 08:02:45 -06:00
2017-10-30 21:48:41 +01:00
2018-02-09 12:32:44 -06:00
2018-02-09 13:52:16 +01:00
2018-02-09 13:52:16 +01:00
2018-02-09 13:52:16 +01:00
2018-02-09 13:52:16 +01:00
2018-02-09 05:05:11 +01:00
2018-02-09 13:52:15 +01:00
2018-01-23 12:34:42 +01:00
2017-11-17 18:21:31 +01:00
2018-02-13 12:27:17 +01:00
2018-01-23 12:34:42 +01:00
2017-05-11 14:28:07 +02:00
2018-02-09 12:32:44 -06:00
2017-12-22 15:03:41 +01:00
2018-02-09 13:52:16 +01:00
2016-06-07 18:19:24 +03:00
2017-07-17 11:34:11 +08:00
2017-07-17 11:34:11 +08:00
2017-07-17 11:34:11 +08:00
2018-02-09 12:32:44 -06:00
2017-07-17 11:34:11 +08:00
2018-02-09 13:52:16 +01:00
2017-09-04 18:31:13 +02:00
2018-02-09 13:52:16 +01:00
2018-02-09 13:52:16 +01:00
2018-02-09 13:52:16 +01:00
2018-02-09 13:52:16 +01:00
2018-02-09 13:52:16 +01:00
2017-11-29 15:11:02 +01:00
2017-11-16 14:12:57 +00:00
2018-02-09 13:52:16 +01:00
2018-02-08 09:22:03 +08:00
2018-02-09 13:52:16 +01:00
2016-09-23 11:42:52 +08:00
2017-08-31 12:29:07 +02:00
2018-02-09 13:52:16 +01:00
2014-12-12 15:42:22 +00:00
2018-02-09 13:52:16 +01:00
2018-02-09 13:52:16 +01:00
2018-02-09 13:52:16 +01:00
2017-05-09 09:13:51 +02:00
2017-02-21 11:39:39 +00:00
2018-02-09 13:50:17 +01:00