- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for unlockFile (0.17 sec)
-
pkg/volume/util/fsquota/project.go
} return fmt.Errorf("%s exists but is not a plain file, cannot continue", projectsFile) } func lockFile(file *os.File) error { return unix.Flock(int(file.Fd()), unix.LOCK_EX) } func unlockFile(file *os.File) error { return unix.Flock(int(file.Fd()), unix.LOCK_UN) } // openAndLockProjectFiles opens /etc/projects and /etc/projid locked. // Creates them if they don't exist
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 20 14:49:03 UTC 2023 - 10.6K bytes - Viewed (0)