diff options
author | Yue Hu <huyue2@yulong.com> | 2021-08-10 15:24:16 +0800 |
---|---|---|
committer | Gao Xiang <hsiangkao@linux.alibaba.com> | 2021-08-11 09:47:39 +0800 |
commit | d252ff3de786a28b1bedf4c03fb31d142d32219b (patch) | |
tree | 2564e7741aae84f7a89e4716e2fb4fc835f444a8 /fs/erofs/super.c | |
parent | f4d4e5fc2b3d03c7e4f3c24ee694a01f8fe27d53 (diff) | |
download | linux-stable-d252ff3de786a28b1bedf4c03fb31d142d32219b.tar.gz linux-stable-d252ff3de786a28b1bedf4c03fb31d142d32219b.tar.bz2 linux-stable-d252ff3de786a28b1bedf4c03fb31d142d32219b.zip |
erofs: remove the mapping parameter from erofs_try_to_free_cached_page()
The mapping is not used at all, remove it and update related code.
Link: https://lore.kernel.org/r/20210810072416.1392-1-zbestahu@gmail.com
Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Yue Hu <huyue2@yulong.com>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Diffstat (limited to 'fs/erofs/super.c')
-rw-r--r-- | fs/erofs/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/erofs/super.c b/fs/erofs/super.c index e8de689c94f4..a8d49e8fc83a 100644 --- a/fs/erofs/super.c +++ b/fs/erofs/super.c @@ -474,7 +474,7 @@ static int erofs_managed_cache_releasepage(struct page *page, gfp_t gfp_mask) DBG_BUGON(mapping->a_ops != &managed_cache_aops); if (PagePrivate(page)) - ret = erofs_try_to_free_cached_page(mapping, page); + ret = erofs_try_to_free_cached_page(page); return ret; } |