On 5/12/26 07:35, Christoph Hellwig wrote:
Always use si->max which is updated setup_swap_extents instead of copying
into and out of maxpages.
Signed-off-by: Christoph Hellwig <[email protected]>
---
mm/swapfile.c | 27 +++++++++++----------------
1 file changed, 11 insertions(+), 16 deletions(-)
Reviewed-by: Hannes Reinecke <[email protected]>
Cheers,
Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
[email protected] +49 911 74053 688
SUSE Software Solutions GmbH, Frankenstr. 146, 90461 Nürnberg
HRB 36809 (AG Nürnberg), GF: I. Totev, A. McDonald, W. Knoblich
_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel