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. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20060811/48602196/attachment.bin>
Maybe Matching Threads
- Installation Problem !!!
- RC11 Build Failure on FreeBSD 6.1
- Filesystem Quota Enhancement Patch
- [LLVMdev] [llvmlinux] [LLVMLinux] Regression: rev 208833/208834 break linux kernel build in ASM handling
- [LLVMdev] [LLVMLinux] Regression: rev 208833/208834 break linux kernel build in ASM handling