fs: drop unused permission parameter from OpenFile

This commit is contained in:
Michael Eischer
2024-11-02 17:47:54 +01:00
parent b402e8a6fc
commit 623ba92b98
12 changed files with 25 additions and 25 deletions

View File

@@ -127,8 +127,8 @@ func (fs *LocalVss) DeleteSnapshots() {
}
// OpenFile wraps the Open method of the underlying file system.
func (fs *LocalVss) OpenFile(name string, flag int, perm os.FileMode) (File, error) {
return fs.FS.OpenFile(fs.snapshotPath(name), flag, perm)
func (fs *LocalVss) OpenFile(name string, flag int) (File, error) {
return fs.FS.OpenFile(fs.snapshotPath(name), flag)
}
// Stat wraps the Stat method of the underlying file system.