Could you change that and update the patch against the latest CVS since I've done some changes there? Thanks. :)
I have modified the quota-fs patch to work with the current CVS code (unchanged since RC2 I believe). I also fixed a bug in determining the appropriate quota to display (user or group quota depending on free space).
What happens if there is no group quota?
With this patch, if there is a user quota and no group quota, it will only display the user quota. If there is only a group quota and not a user quota, it will only show the group quota. If both quotas are off (yet the quota plugin is enabled), it gives the "* BAD Internal quota error" message as it currently does.
Also assuming inode quota == message count quota works only with maildir, so it should do that only if storage->name == "maildir"
I attempted to do this, however I was unable to get the storage variable in the fs_quota_root_get_resources function. I left the if statement commented out, so if you can just get the storage->name variable in this function, it will work as intended.
Scott Alter