Commit b5d97582 authored by Peng Hao's avatar Peng Hao Committed by Miklos Szeredi

fuse: delete redundant code

'ia->io=io' has been set in fuse_io_alloc.
Signed-off-by: default avatarPeng Hao <flyingpeng@tencent.com>
Signed-off-by: default avatarMiklos Szeredi <mszeredi@redhat.com>
parent 5fe0fc9f
...@@ -1445,7 +1445,6 @@ ssize_t fuse_direct_io(struct fuse_io_priv *io, struct iov_iter *iter, ...@@ -1445,7 +1445,6 @@ ssize_t fuse_direct_io(struct fuse_io_priv *io, struct iov_iter *iter,
if (!ia) if (!ia)
return -ENOMEM; return -ENOMEM;
ia->io = io;
if (!cuse && fuse_range_is_writeback(inode, idx_from, idx_to)) { if (!cuse && fuse_range_is_writeback(inode, idx_from, idx_to)) {
if (!write) if (!write)
inode_lock(inode); inode_lock(inode);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment