[Dovecot] xfs quota support
Hello,
quota support is out of action on xfs filesystem on my centos 4.x . Problem is that i haven't these file #include <linux/dqblk_xfs.h> on my system. Solution is simple. After instalation xfsprogs-devel you get necessary files, but you must use another header file in dovecot/src/plugins/quota/quota-fs.c. Instead <linux/dqblk_xfs.h> you should use <xfs/xqm.h>. If you advise me, how can i detect if <xfs/xqm.h> exist instead <linux/dqblk_xfs.h>, i can send patch back. I'm not familiar with autotools.
existing code in dovecot/src/plugins/quota/quota-fs.c :
#ifdef HAVE_LINUX_DQBLK_XFS_H # include <linux/dqblk_xfs.h> #endif
new code : #ifdef HAVE_XFS_XQM_H #include<xfs/xqm.h> #endif
Best regards Polish
--
- starnem a porad nic, rozum jako kdyby se nam vyhybal *
On Thu, 2006-07-13 at 08:13 +0200, polish wrote:
Hello,
quota support is out of action on xfs filesystem on my centos 4.x . Problem is that i haven't these file #include <linux/dqblk_xfs.h> on my system. Solution is simple. After instalation xfsprogs-devel you get necessary files, but you must use another header file in dovecot/src/plugins/quota/quota-fs.c. Instead <linux/dqblk_xfs.h> you should use <xfs/xqm.h>.
Added to CVS.
participants (2)
-
polish
-
Timo Sirainen