Mercurial > dovecot > original-hg > dovecot-1.2
changeset 8091:ceca59aaae89 HEAD
quota-fs: compile fix for previous changes.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Tue, 12 Aug 2008 18:48:11 -0400 |
parents | 75b1f16cba72 |
children | 29b623366e1e |
files | src/plugins/quota/quota-fs.c |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/plugins/quota/quota-fs.c Tue Aug 12 18:20:46 2008 -0400 +++ b/src/plugins/quota/quota-fs.c Tue Aug 12 18:48:11 2008 -0400 @@ -251,7 +251,7 @@ dir = mail_storage_get_mailbox_path(storage, "", &is_file); mount = fs_quota_mountpoint_get(dir); if (mount != NULL) { - if (quota->debug) { + if (quota->set->debug) { i_info("fs quota add storage dir = %s", dir); i_info("fs quota block device = %s", mount->device_path); i_info("fs quota mount point = %s", mount->mount_path); @@ -310,7 +310,7 @@ host = t_strdup_until(mount->device_path, path); path++; - if (root->root.quota->debug) { + if (root->root.quota->set->debug) { i_info("quota-fs: host=%s, path=%s, uid=%s", host, path, dec2str(root->uid)); } @@ -366,7 +366,7 @@ *limit_r = rq->rq_fsoftlimit; } } - if (root->root.quota->debug) { + if (root->root.quota->set->debug) { i_info("quota-fs: uid=%s, value=%llu, " "limit=%llu, active=%d", dec2str(root->uid), (unsigned long long)*value_r, @@ -375,7 +375,7 @@ return 1; } case Q_NOQUOTA: - if (root->root.quota->debug) { + if (root->root.quota->set->debug) { i_info("quota-fs: uid=%s, limit=unlimited", dec2str(root->uid)); } @@ -609,14 +609,14 @@ return FALSE; } if (stat(root->storage_mount_path, &rst) < 0) { - if (_root->quota->debug) { + if (_root->quota->set->debug) { i_error("stat(%s) failed: %m", root->storage_mount_path); } return FALSE; } match = CMP_DEV_T(mst.st_dev, rst.st_dev); - if (_root->quota->debug) { + if (_root->quota->set->debug) { i_info("box=%s mount=%s match=%s", mailbox_path, root->storage_mount_path, match ? "yes" : "no"); }