Skip to content

Commit

Permalink
Merge pull request #546 from giuseppe/lockfile-drop-fsync
Browse files Browse the repository at this point in the history
lockfile: drop call to unix.Fsync
  • Loading branch information
rhatdan authored Mar 7, 2020
2 parents cfb0dd9 + c2d2788 commit f69a142
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/lockfile/lockfile_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,10 +206,6 @@ func (l *lockfile) Touch() error {
if n != len(id) {
return unix.ENOSPC
}
err = unix.Fsync(int(l.fd))
if err != nil {
return err
}
return nil
}

Expand Down

0 comments on commit f69a142

Please sign in to comment.