path: root/mm/page-writeback.c
diff options
authorMatthew Wilcox (Oracle) <>2020-04-01 21:04:57 -0700
committerLinus Torvalds <>2020-04-02 09:35:26 -0700
commitec84821507be44480e831d6f3d89df9e2b13728e (patch)
treef4b507cc679864051f7751c900a83beb13a64424 /mm/page-writeback.c
parente520e932dcc607fc857d27ddd98482fcaf090d7a (diff)
include/linux/pagemap.h: rename arguments to find_subpage
This isn't just a random struct page, it's known to be a head page, and calling it head makes the function better self-documenting. The pgoff_t is less confusing if it's named index instead of offset. Also add a couple of comments to explain why we're doing various things. Signed-off-by: Matthew Wilcox (Oracle) <> Signed-off-by: Andrew Morton <> Reviewed-by: Christoph Hellwig <> Acked-by: Kirill A. Shutemov <> Acked-by: Pankaj Gupta <> Cc: Aneesh Kumar K.V <> Link: Signed-off-by: Linus Torvalds <>
Diffstat (limited to 'mm/page-writeback.c')
0 files changed, 0 insertions, 0 deletions