From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Wed 01 Oct 2003 - 13:56:28 BST
On Wed, Oct 01, 2003 at 11:22:34AM +0100, Chris Murton wrote:
> Hi,
>
> Well, I've finally managed to get context quota support working (woohoo),
> but I've noticed entries and entries of crap in the root vserver's
> /var/log/messages.
please try the following patch ...
diff -NurP --minimal linux-2.4.22-c17e-rmap15k-mq0.11-cx0.06-cq0.11-dl0.04-vr0.13-ml0.06-P1/fs/dquot.c linux-2.4.22-c17e-rmap15k-mq0.11-cx0.06-cq0.11-dl0.04-vr0.13-ml0.06-deb-P1/fs/dquot.c
--- linux-2.4.22-c17e-rmap15k-mq0.11-cx0.06-cq0.11-dl0.04-vr0.13-ml0.06-P1/fs/dquot.c 2003-09-25 19:33:49.000000000 +0200
+++ linux-2.4.22-c17e-rmap15k-mq0.11-cx0.06-cq0.11-dl0.04-vr0.13-ml0.06-deb-P1/fs/dquot.c 2003-10-01 14:47:59.000000000 +0200
@@ -1372,6 +1372,8 @@
dqput(transfer_from[cnt]);
}
}
+ if (inode->i_dqh == NULL)
+ printk("DQUOT tranfer inode[%p,%x] to zero\n", inode, inode->i_flags);
return QUOTA_OK;
warn_put_all:
diff -NurP --minimal linux-2.4.22-c17e-rmap15k-mq0.11-cx0.06-cq0.11-dl0.04-vr0.13-ml0.06-P1/fs/dquot.c.orig linux-2.4.22-c17e-rmap15k-mq0.11-cx0.06-cq0.11-dl0.04-vr0.13-ml0.06-deb-P1/fs/dquot.c.orig
diff -NurP --minimal linux-2.4.22-c17e-rmap15k-mq0.11-cx0.06-cq0.11-dl0.04-vr0.13-ml0.06-P1/include/linux/quotaops.h linux-2.4.22-c17e-rmap15k-mq0.11-cx0.06-cq0.11-dl0.04-vr0.13-ml0.06-deb-P1/include/linux/quotaops.h
--- linux-2.4.22-c17e-rmap15k-mq0.11-cx0.06-cq0.11-dl0.04-vr0.13-ml0.06-P1/include/linux/quotaops.h 2003-09-25 19:42:07.000000000 +0200
+++ linux-2.4.22-c17e-rmap15k-mq0.11-cx0.06-cq0.11-dl0.04-vr0.13-ml0.06-deb-P1/include/linux/quotaops.h 2003-10-01 14:37:13.000000000 +0200
@@ -204,7 +204,7 @@
if (inode->i_dqh)
inode->i_dqh->dqh_qop->drop(inode); /* Ops must be set when there's any quota... */
else
- printk("DQUOT_DROP: inode without dqh!");
+ printk("DQUOT_DROP: inode [%p,%x] without dqh!\n", inode, inode->i_flags);
}
unlock_kernel();
}
>
> Lots and lots of "DQUOT_DROP: inode without dqh"?
>
> Thanks
> Chris.