summaryrefslogtreecommitdiffstats
path: root/fs/fuse/file.c
diff options
context:
space:
mode:
authorPeng Hao <flyingpeng@tencent.com>2021-09-06 20:31:48 +0800
committerMiklos Szeredi <mszeredi@redhat.com>2021-10-22 17:03:01 +0200
commitb5d9758297858288f1d8cd9b24a4e2f899f169e0 (patch)
tree275ffa437cccf8e0f50ee073fe362b9a25ebab08 /fs/fuse/file.c
parent5fe0fc9f1de63de748b87f121c038d39192a271d (diff)
downloadlinux-b5d9758297858288f1d8cd9b24a4e2f899f169e0.tar.bz2
fuse: delete redundant code
'ia->io=io' has been set in fuse_io_alloc. Signed-off-by: Peng Hao <flyingpeng@tencent.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/fuse/file.c')
-rw-r--r--fs/fuse/file.c1
1 files changed, 0 insertions, 1 deletions
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);