1.1 --- a/libfsserver/lib/generic/pager.cc Thu Sep 01 21:40:39 2022 +0200
1.2 +++ b/libfsserver/lib/generic/pager.cc Thu Sep 01 21:52:41 2022 +0200
1.3 @@ -66,7 +66,8 @@
1.4 return L4_EOK;
1.5 }
1.6
1.7 -/* Resize the underlying file. */
1.8 +/* Resize the file. This will only resize the underlying file where masking and
1.9 + copy-on-write mapping is not being performed. */
1.10
1.11 long Pager::resize(offset_t *size)
1.12 {
1.13 @@ -87,7 +88,7 @@
1.14 _start = trunc(position, PAGE_SIZE);
1.15 _size = round(position + length, PAGE_SIZE) - _start;
1.16
1.17 - /* Return the start and end positions plus populated extent. */
1.18 + /* Return the start and end positions plus file size. */
1.19
1.20 *start_pos = _start;
1.21 *end_pos = _start + _size;