Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8f3ec5d

Browse files
committed
fusefrontend: unbreak isConsecutiveWrite streaming write optimization
Commit6196a5b got the logic inverted, hence we neverset the last position markers.Fixes#712
1 parent85297cd commit8f3ec5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎internal/fusefrontend/file.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ func (f *File) Write(ctx context.Context, data []byte, off int64) (uint32, sysca
384384
}
385385
}
386386
n,errno:=f.doWrite(data,off)
387-
iferrno!=0 {
387+
iferrno==0 {
388388
f.lastOpCount=openfiletable.WriteOpCount()
389389
f.lastWrittenOffset=off+int64(len(data))-1
390390
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp