Since we move the fuse_wait_on_page_writeback() to fuse_fill_write_pages(), thus remove the unused 'inode' parameter of fuse_send_write_pages(). Signed-off-by: Baolin Wang <baolin.wang@xxxxxxxxxxxxxxxxx> --- Changes from v1: - New patch. --- fs/fuse/file.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/fs/fuse/file.c b/fs/fuse/file.c index 9a30093..40e2902 100644 --- a/fs/fuse/file.c +++ b/fs/fuse/file.c @@ -1091,7 +1091,7 @@ bool fuse_write_update_size(struct inode *inode, loff_t pos) } static ssize_t fuse_send_write_pages(struct fuse_io_args *ia, - struct kiocb *iocb, struct inode *inode, + struct kiocb *iocb, loff_t pos, size_t count) { struct fuse_args_pages *ap = &ia->ap; @@ -1238,8 +1238,7 @@ static ssize_t fuse_perform_write(struct kiocb *iocb, if (count <= 0) { err = count; } else { - err = fuse_send_write_pages(&ia, iocb, inode, - pos, count); + err = fuse_send_write_pages(&ia, iocb, pos, count); if (!err) { size_t num_written = ia.write.out.size; -- 1.8.3.1