diff options
author | Miklos Szeredi <mszeredi@redhat.com> | 2016-10-01 07:32:33 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2016-10-01 07:32:33 +0200 |
commit | 4680a7ee5db27772af40d83393fa0fb955b745b7 (patch) | |
tree | 3226dbacd555f73e7f2d62fa22e9e552338627ca /fs/fuse/dev.c | |
parent | fuse: don't use fuse_ioctl_copy_user() helper (diff) | |
download | linux-4680a7ee5db27772af40d83393fa0fb955b745b7.tar.xz linux-4680a7ee5db27772af40d83393fa0fb955b745b7.zip |
fuse: remove duplicate cs->offset assignment
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/fuse/dev.c')
-rw-r--r-- | fs/fuse/dev.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/fuse/dev.c b/fs/fuse/dev.c index a94d2ed81ab4..c41bde26c338 100644 --- a/fs/fuse/dev.c +++ b/fs/fuse/dev.c @@ -767,7 +767,6 @@ static int fuse_copy_fill(struct fuse_copy_state *cs) cs->len = err; cs->offset = off; cs->pg = page; - cs->offset = off; iov_iter_advance(cs->iter, err); } |