Timo Sirainen schrieb am 12.07.2008 16:29:
On Sat, 2008-07-12 at 15:54 +0200, Ralf Becker wrote:
Ok... here it is :-)

BTW:
The patch also includes another AIX specific code enhancement:

On AIX the quota block size DEV_BSIZE should be 1024. This is easy to detect, because there is a macro DQBSIZE defined in jfs/quota.h. I've changed quota-fs.c to use DQBSIZE (if present) to initialize DEV_BSIZE.

Does it work if you instead use "root->mount->block_size" instead? I'm
thinking about removing DEV_BSIZE from everywhere and using the looked
up block_size instead.

no, it doesn't. DQBSIZE is 1024, but root->mount->block_size is 4096

mst.st_dev == rst.st_dev

Use CMP_DEV_T() macro instead (src/lib/compat.h).

done, I've changed it in src/lib/mountpoint.c too.

+ if (getenv("DEBUG") != NULL)

root->quota->debug has the same value. Looks like I should fix some of
my own code for that as well.

It seems that root->quota->debug in not available in 1.1.1 release source code: "quota-fs.c", line 615.19: 1506-022 (S) "quota" is not a member of "struct fs_quota_root".



--
______________________________________________________________________

 Dipl.-Inform. (FH) Ralf Becker     Rechenzentrum (r/ft) der FH Trier
 (Network|Mail|Web|Firewall)           University of applied sciences
 Administrator                           Schneidershof, D-54293 Trier

   Mail: [EMAIL PROTECTED]                    Fon: +49 651 8103 499
    Web: http://www.fh-trier.de/~beckerr        Fax: +49 651 8103 214
 PubKey: http://www.fh-trier.de/~beckerr     Crypto: GnuPG, S/MIME
______________________________________________________________________

 Wenn Gott gewollt haette, dass E-Mail in HTML geschrieben wuerden,
 endeten Gebete traditionell mit </amen>. (Tom Listen)

Attachment: dovecot-aix-mntctl.patch.gz
Description: Binary data

Attachment: dovecot-quota-root-matching.patch.gz
Description: Binary data

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to