--=_courier-9184-1051129996-0001-2
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit
Jeff Garzik <jgarzik@pobox.com> writes:
: On Wed, Apr 23, 2003 at 11:59:16AM -0400, Stephane Ouellette wrote:
: > the file fs/dquot.c is compiled only if CONFIG_QUOTA is set. That
: > would imply modifying the Makefile and #ifdeffing most of the code
: > inside dquot.c.
:
: So? ;-)
:
: Your patch modified fs/quota.c, which is compiled when CONFIG_QUOTACTL is
: set, which in turn is set for CONFIG_QUOTA || CONFIG_XFS_QUOTA.
:
: If you are adding CONFIG_QUOTA ifdefs to fs/quota.c, it is clear a
: non-ifdef solution can be achieved.
yep. attached is the patch i made when i compiled the kernel, but
forgot to send on:
--=_courier-9184-1051129996-0001-2
Content-Type: text/x-patch; charset=iso-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=quotaops.h.diff
--- include/linux/quotaops.h.orig 2003-04-15 20:31:50.000000000 -0700
+++ include/linux/quotaops.h 2003-04-15 20:31:59.000000000 -0700
@@ -185,6 +185,7 @@
*/
#define sb_dquot_ops (NULL)
#define sb_quotactl_ops (NULL)
+#define sync_dquots_dev(dev,type) (NULL)
#define DQUOT_INIT(inode) do { } while(0)
#define DQUOT_DROP(inode) do { } while(0)
#define DQUOT_ALLOC_INODE(inode) (0)
--=_courier-9184-1051129996-0001-2--