On 30.04.25 20:10, Kairui Song wrote:
From: Kairui Song <kas...@tencent.com>
folio_index is only needed for mixed usage of page cache and swap
cache, for pure page cache usage, the caller can just use
folio->index instead.
It can't be a swap cache folio here. Swap mapping may only call into fs
through `swap_rw` but f2fs does not use that method for swap.
Signed-off-by: Kairui Song <kas...@tencent.com>
Cc: Jaegeuk Kim <jaeg...@kernel.org> (maintainer:F2FS FILE SYSTEM)
Cc: Chao Yu <c...@kernel.org> (maintainer:F2FS FILE SYSTEM)
Cc: linux-f2fs-devel@lists.sourceforge.net (open list:F2FS FILE SYSTEM)
Reviewed-by: Matthew Wilcox (Oracle) <wi...@infradead.org>
---
Reviewed-by: David Hildenbrand <da...@redhat.com>
--
Cheers,
David / dhildenb
_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel