nilfs2: remove page_address() from nilfs_set_link
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 27 Nov 2023 14:30:22 +0000 (23:30 +0900)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 11 Dec 2023 01:21:45 +0000 (17:21 -0800)
commit6bb09fa1b44f8634e7091d6186bcba80edebfce7
treed845b84e6f662ecd81b2949f15191891c965f466
parent8cf57c6df818f58fdad16a909506be213623a88e
nilfs2: remove page_address() from nilfs_set_link

In preparation for removing kmap from directory handling, use
offset_in_page() to calculate 'from'.  Matches ext2.

Link: https://lkml.kernel.org/r/20231127143036.2425-4-konishi.ryusuke@gmail.com
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/nilfs2/dir.c