Close closes the file
()
| 214 | |
| 215 | // Close closes the file |
| 216 | func (fh *WriteFileHandle) Close() error { |
| 217 | fh.mu.Lock() |
| 218 | defer fh.mu.Unlock() |
| 219 | return fh.close() |
| 220 | } |
| 221 | |
| 222 | // Flush is called on each close() of a file descriptor. So if a |
| 223 | // filesystem wants to return write errors in close() and the file has |