fuse: remove duplicate cs->offset assignment
authorMiklos Szeredi <mszeredi@redhat.com>
Sat, 1 Oct 2016 05:32:33 +0000 (07:32 +0200)
committerMiklos Szeredi <mszeredi@redhat.com>
Sat, 1 Oct 2016 05:32:33 +0000 (07:32 +0200)
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/fuse/dev.c

index a94d2ed..c41bde2 100644 (file)
@@ -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);
        }