diff options
author | Peng Hao <flyingpeng@tencent.com> | 2021-09-06 20:31:48 +0800 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2021-10-22 17:03:01 +0200 |
commit | b5d9758297858288f1d8cd9b24a4e2f899f169e0 (patch) | |
tree | 275ffa437cccf8e0f50ee073fe362b9a25ebab08 /fs/fuse | |
parent | 5fe0fc9f1de63de748b87f121c038d39192a271d (diff) |
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')
-rw-r--r-- | fs/fuse/file.c | 1 |
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); |