- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for setQuotaOnDir (0.19 sec)
-
pkg/volume/util/fsquota/quota_linux.go
} func clearApplier(path string) { dirApplierLock.Lock() defer dirApplierLock.Unlock() delete(dirApplierMap, path) } func setQuotaOnDir(path string, id common.QuotaID, bytes int64) error { return getApplier(path).SetQuotaOnDir(path, id, bytes) } func GetQuotaOnDir(m mount.Interface, path string) (common.QuotaID, error) { _, _, err := getFSInfo(m, path) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 07 08:07:51 UTC 2023 - 14.1K bytes - Viewed (0) -
pkg/volume/util/fsquota/quota_linux_test.go
if strings.HasPrefix(mountpoint, "/quota2") { return testVolumeQuota{} } return nil } func (v testVolumeQuota) SetQuotaOnDir(dir string, id common.QuotaID, _ int64) error { odir, ok := testIDQuotaMap[id] if ok && dir != odir { return fmt.Errorf("ID %v is already in use", id) } oid, ok := testQuotaIDMap[dir] if ok && id != oid {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 20.7K bytes - Viewed (0)