jffs2: Pass the file pointer to jffs2_do_readpage_unlock()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Sun, 1 May 2022 23:39:03 +0000 (19:39 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 9 May 2022 20:28:41 +0000 (16:28 -0400)
commit2294f9b8793d02b265423207e55ce5b26d8960cd
treea74a8a0badfc2c93384ef8a597b68ad974425e53
parent7e0a126519b82648b254afcd95a168c15f65ea40
jffs2: Pass the file pointer to jffs2_do_readpage_unlock()

In preparation for unifying the read_cache_page() and read_folio()
implementations, make jffs2_do_readpage_unlock() get the inode
from the page instead of passing it in from read_cache_page().

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/jffs2/file.c
fs/jffs2/gc.c