1.1 --- a/libfsserver/lib/generic/pager.cc Fri May 10 14:49:52 2024 +0200
1.2 +++ b/libfsserver/lib/generic/pager.cc Fri May 10 19:00:38 2024 +0200
1.3 @@ -1,7 +1,7 @@
1.4 /*
1.5 * Generic pager functionality.
1.6 *
1.7 - * Copyright (C) 2021, 2022, 2023 Paul Boddie <paul@boddie.org.uk>
1.8 + * Copyright (C) 2021, 2022, 2023, 2024 Paul Boddie <paul@boddie.org.uk>
1.9 *
1.10 * This program is free software; you can redistribute it and/or
1.11 * modify it under the terms of the GNU General Public License as
1.12 @@ -59,9 +59,9 @@
1.13
1.14 /* Flush data to the file. */
1.15
1.16 -long Pager::flush(offset_t populated_size, offset_t *size)
1.17 +long Pager::flush(offset_t position, offset_t *size)
1.18 {
1.19 - _mapper->flush_all(_start, populated_size);
1.20 + _mapper->flush_all(_start, position);
1.21
1.22 *size = _mapper->get_data_size();
1.23 return L4_EOK;