vfs: rename Fsync to Sync and implement Sync on Node and Handle

This commit is contained in:
Nick Craig-Wood
2017-11-20 12:46:23 +00:00
parent eb3415db50
commit b4083b4371
10 changed files with 40 additions and 10 deletions
+2 -2
View File
@@ -498,10 +498,10 @@ func (d *Dir) Rename(oldName, newName string, destDir *Dir) error {
return nil
}
// Fsync the directory
// Sync the directory
//
// Note that we don't do anything except return OK
func (d *Dir) Fsync() error {
func (d *Dir) Sync() error {
return nil
}