search for: root_ctx

Displaying 2 results from an estimated 2 matches for "root_ctx".

2006 Jun 20
1
Group-based filesystem quota
Hello. After using Dovecot for over a year, I have just started experimenting with the filesystem quotas, and I have a suggestion for improvement. On my mail server, I use group-based quotas, and would like to have Dovecot be able to report these quotas. It should be simple to implement, requiring only changes to the quota-fs.c file of the quota plugin. Simply changing USRQUOTA to
2006 Aug 21
2
Filesystem Quota Enhancement Patch
...lue __attr_unused__) { quota_set_error(root->setup->quota, MAIL_STORAGE_ERR_NO_PERMISSION); return -1; } static struct quota_root_transaction_context * fs_quota_transaction_begin(struct quota_root *root, struct quota_transaction_context *ctx) { struct quota_root_transaction_context *root_ctx; root_ctx = i_new(struct quota_root_transaction_context, 1); root_ctx->root = root; root_ctx->ctx = ctx; root_ctx->disabled = TRUE; return root_ctx; } static int fs_quota_transaction_commit(struct quota_root_transaction_context *ctx) { i_free(ctx); return 0; } struct quota_backen...