]> andersk Git - moira.git/commitdiff
Use correct listname and speed up quota retrieval
authormar <mar>
Mon, 18 Sep 1989 15:15:16 +0000 (15:15 +0000)
committermar <mar>
Mon, 18 Sep 1989 15:15:16 +0000 (15:15 +0000)
gen/nfs.qc

index 94814efcaeaeaeaa037546fdc4d2e09037050841..b216049d3cb00fabaa2e6d0947551d5a47f0507f 100644 (file)
@@ -170,7 +170,7 @@ struct save_queue *lists;
            exit(SMS_OCONFIG);
        }
 ##     repeat retrieve (id = m.member_id)
-##         where m.list_id = l1.list_id and l1.name = @lsname and
+##         where m.list_id = l1.list_id and l1.name = @listname and
 ##         m.member_type = "USER" {
            if (u = hash_lookup(users, id))
              fprintf(fd, "%s\n", u);
@@ -390,8 +390,8 @@ struct save_queue *machs;
            prevuid = -1;
            quotasum = 0;
 ##         repeat retrieve (uid = u.#uid, quota = q.#quota)
-##             where q.users_id = u.users_id and q.filsys_id = f.filsys_id and
-##                   f.phys_id = @id and u.status != 0 sort by #uid {
+##             where q.users_id = u.users_id and q.phys_id = @id and
+##                   u.status != 0 sort by #uid {
                if (uid != prevuid) {
                    if (quotasum)
                      fprintf(fd, "%d %d\n", prevuid, quotasum);
This page took 0.043375 seconds and 5 git commands to generate.