From b5d9758297858288f1d8cd9b24a4e2f899f169e0 Mon Sep 17 00:00:00 2001 From: Peng Hao Date: Mon, 6 Sep 2021 20:31:48 +0800 Subject: fuse: delete redundant code 'ia->io=io' has been set in fuse_io_alloc. Signed-off-by: Peng Hao Signed-off-by: Miklos Szeredi --- fs/fuse/file.c | 1 - 1 file changed, 1 deletion(-) (limited to 'fs/fuse') diff --git a/fs/fuse/file.c b/fs/fuse/file.c index 01d9b3272015..be13f695e1d6 100644 --- a/fs/fuse/file.c +++ b/fs/fuse/file.c @@ -1445,7 +1445,6 @@ ssize_t fuse_direct_io(struct fuse_io_priv *io, struct iov_iter *iter, if (!ia) return -ENOMEM; - ia->io = io; if (!cuse && fuse_range_is_writeback(inode, idx_from, idx_to)) { if (!write) inode_lock(inode); -- cgit v1.2.3-58-ga151