search for: quota_error

Displaying 1 result from an estimated 1 matches for "quota_error".

2006 Aug 21
2
Filesystem Quota Enhancement Patch
...ldir") != NULL) { + resources[1] = QUOTA_NAME_MESSAGES; + } return resources; } @@ -192,82 +203,108 @@ struct quotctl ctl; #endif + int value_r_t, limit_r_t, value_r_c=0, limit_r_c=0; + char args[] = {USRQUOTA, GRPQUOTA}; + int what[] = {root->uid, root->gid}; + short i; + int quota_error=0; + *value_r = 0; *limit_r = 0; - if (strcasecmp(name, QUOTA_NAME_STORAGE) != 0 || root->mount == NULL) + if (root->mount == NULL) return 0; + for (i = 0; i < 2; i++) { + #if defined (HAVE_QUOTACTL) && defined(HAVE_SYS_QUOTA_H) - /* Linux */ + /* Linux */ #ifdef HAVE...