12 Jul
2008
12 Jul
'08
5:29 p.m.
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.
mst.st_dev == rst.st_dev
Use CMP_DEV_T() macro instead (src/lib/compat.h).
+ 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.