f2fs-pass-the-inode-to-f2fs_mpage_readpages.patch removed from -mm tree
The patch titled
Subject: f2fs: pass the inode to f2fs_mpage_readpages
has been removed from the -mm tree. Its filename was
f2fs-pass-the-inode-to-f2fs_mpage_readpages.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: "Matthew Wilcox (Oracle)" <[email protected]>
Subject: f2fs: pass the inode to f2fs_mpage_readpages
This function now only uses the mapping argument to look up the inode, and both callers already have the inode, so just pass the inode instead of the mapping.
---
fs/f2fs/data.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)
fs/f2fs/data.c renamed from fs/f2fs/data.c~f2fs-pass-the-inode-to-f2fs_mpage_readpages +3 -4
@@ -2177,12 +2177,11 @@ out:* use ->readpage() or do the necessary surgery to decouple ->readpages() * from read-ahead. */ -static int f2fs_mpage_readpages (struct address_space *mapping, +static int f2fs_mpage_readpages (struct inode *inode,struct readahead_control *rac,struct page *page) {struct bio *bio =NULL ;sector_t last_block_in_bio =0 ; -struct inode *inode = mapping->host;struct f2fs_map_blocks map;#ifdef CONFIG_F2FS_FS_COMPRESSION struct compress_ctx cc = {
@@ -2294,7 +2293,7 @@ static int f2fs_read_data_page(struct fiif (f2fs_has_inline_data (inode)) ret =f2fs_read_inline_data (inode, page);if (ret == -EAGAIN ) - ret =f2fs_mpage_readpages (page_file_mapping (page),NULL , page); + ret =f2fs_mpage_readpages (inode,NULL , page);return ret; }
@@ -2311,7 +2310,7 @@ static void f2fs_readahead(struct readahif (f2fs_has_inline_data (inode))return ; -f2fs_mpage_readpages (rac->mapping, rac,NULL ); +f2fs_mpage_readpages (inode, rac,NULL ); }int f2fs_encrypt_one_page (struct f2fs_io_info *fio)
_
Patches currently in -mm which might be from [email protected] are
mm-simplify-calling-a-compound-page-destructor.patch ipc-convert-ipcs_idr-to-xarray.patch ipc-convert-ipcs_idr-to-xarray-update.patch