* fuse: Delete a slightly redundant code
@ 2021-09-06 12:31 Hao Peng
2021-09-07 10:49 ` Miklos Szeredi
0 siblings, 1 reply; 2+ messages in thread
From: Hao Peng @ 2021-09-06 12:31 UTC (permalink / raw)
To: Miklos Szeredi; +Cc: linux-fsdevel
'ia->io=io' has been set in fuse_io_alloc.
Signed-off-by: Peng Hao <flyingpeng@tencent.com>
---
fs/fuse/file.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/fs/fuse/file.c b/fs/fuse/file.c
index 97f860cfc195..624371ee9263 100644
--- a/fs/fuse/file.c
+++ b/fs/fuse/file.c
@@ -1447,7 +1447,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);
--
2.27.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: fuse: Delete a slightly redundant code
2021-09-06 12:31 fuse: Delete a slightly redundant code Hao Peng
@ 2021-09-07 10:49 ` Miklos Szeredi
0 siblings, 0 replies; 2+ messages in thread
From: Miklos Szeredi @ 2021-09-07 10:49 UTC (permalink / raw)
To: Hao Peng; +Cc: linux-fsdevel
On Mon, 6 Sept 2021 at 14:32, Hao Peng <flyingpenghao@gmail.com> wrote:
>
> 'ia->io=io' has been set in fuse_io_alloc.
>
> Signed-off-by: Peng Hao <flyingpeng@tencent.com>
Thanks, applied.
But please do note that gmail corrupts patches and if it's not the
trivial variety like this one, fixing that up would be problematic.
See Documentation/process/email-clients.rst for more information.
Thanks,
Miklos
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-09-07 10:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-06 12:31 fuse: Delete a slightly redundant code Hao Peng
2021-09-07 10:49 ` Miklos Szeredi
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.