firmware/br-ext-chip-allwinner/board/v83x/kernel/patches/00000-fs_logfs_dir.c.patch

22 lines
718 B
Diff

diff -drupN a/fs/logfs/dir.c b/fs/logfs/dir.c
--- a/fs/logfs/dir.c 2018-08-06 17:23:04.000000000 +0300
+++ b/fs/logfs/dir.c 2022-06-12 05:28:14.000000000 +0300
@@ -174,7 +174,7 @@ static struct page *logfs_get_dd_page(st
if (!logfs_exist_block(dir, index))
continue;
page = read_cache_page(dir->i_mapping, index,
- (filler_t *)logfs_readpage, NULL);
+ logfs_readpage, NULL);
if (IS_ERR(page))
return page;
dd = kmap_atomic(page);
@@ -306,7 +306,7 @@ static int logfs_readdir(struct file *fi
continue;
}
page = read_cache_page(dir->i_mapping, pos,
- (filler_t *)logfs_readpage, NULL);
+ logfs_readpage, NULL);
if (IS_ERR(page))
return PTR_ERR(page);
dd = kmap(page);