ANDROID: fs: fuse: fix filler function type mismatch

Bug: 67506682
Change-Id: Iabe7cdcc90dd2ea62976860531b8cbfcd76bd64b
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
This commit is contained in:
Sami Tolvanen 2018-04-25 16:08:28 -07:00 committed by Amit Pundir
parent 2aa218af76
commit 57a50d911c

View file

@ -838,9 +838,9 @@ struct fuse_fill_data {
unsigned nr_pages; unsigned nr_pages;
}; };
static int fuse_readpages_fill(void *_data, struct page *page) static int fuse_readpages_fill(struct file *_data, struct page *page)
{ {
struct fuse_fill_data *data = _data; struct fuse_fill_data *data = (struct fuse_fill_data *)_data;
struct fuse_req *req = data->req; struct fuse_req *req = data->req;
struct inode *inode = data->inode; struct inode *inode = data->inode;
struct fuse_conn *fc = get_fuse_conn(inode); struct fuse_conn *fc = get_fuse_conn(inode);