Skip to content

Commit

Permalink
update length in reader to refresh to latest data written by other cl…
Browse files Browse the repository at this point in the history
…ients
  • Loading branch information
davies committed Jan 19, 2021
1 parent ac2c5f1 commit 18baa89
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/vfs/vfs.go
Expand Up @@ -304,6 +304,7 @@ func UpdateLength(inode Ino, attr *meta.Attr) {
if length > attr.Length {
attr.Length = length
}
reader.Truncate(inode, attr.Length)
}
}

Expand Down

0 comments on commit 18baa89

Please sign in to comment.