From 8c07eec25d5347fc700d8d277ac42e9913618f45 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Wed, 3 Nov 2021 12:20:56 +0100 Subject: [PATCH] ANDROID: fuse: passthrough: fix up build error in ki_complete Commit 6b19b766e8f0 ("fs: get rid of the res2 iocb->ki_complete argument") dropped the res2 argument in ki_complete, which broke the build in the fuse passthrough code. Fix this up by dropping the argument here as well. Bug: 168023149 Cc: Alessio Balsini Signed-off-by: Greg Kroah-Hartman Change-Id: Id4c8d7bd34bda4cdfc6467446cbed9ad267ede03 --- fs/fuse/passthrough.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/fuse/passthrough.c b/fs/fuse/passthrough.c index 83125de0bfdc..63e26cc30c5a 100644 --- a/fs/fuse/passthrough.c +++ b/fs/fuse/passthrough.c @@ -61,14 +61,14 @@ static void fuse_aio_cleanup_handler(struct fuse_aio_req *aio_req) kfree(aio_req); } -static void fuse_aio_rw_complete(struct kiocb *iocb, long res, long res2) +static void fuse_aio_rw_complete(struct kiocb *iocb, long res) { struct fuse_aio_req *aio_req = container_of(iocb, struct fuse_aio_req, iocb); struct kiocb *iocb_fuse = aio_req->iocb_fuse; fuse_aio_cleanup_handler(aio_req); - iocb_fuse->ki_complete(iocb_fuse, res, res2); + iocb_fuse->ki_complete(iocb_fuse, res); } ssize_t fuse_passthrough_read_iter(struct kiocb *iocb_fuse,