diff -NurpP linux-2.6.17.11-vs2.1.1-rc30.1/fs/dquot.c linux-2.6.17.11-vs2.1.1-rc30.1.1/fs/dquot.c --- linux-2.6.17.11-vs2.1.1-rc30.1/fs/dquot.c 2006-08-25 19:19:54 +0200 +++ linux-2.6.17.11-vs2.1.1-rc30.1.1/fs/dquot.c 2006-08-25 20:00:57 +0200 @@ -420,7 +420,7 @@ out_dqlock: * just deleted or pruned by prune_icache() (those are not attached to any * list). We have to wait for such users. */ -void invalidate_dquots(struct dqhash *hash, int type) +static void invalidate_dquots(struct dqhash *hash, int type) { struct dquot *dquot, *tmp; diff -NurpP linux-2.6.17.11-vs2.1.1-rc30.1/fs/quota.c linux-2.6.17.11-vs2.1.1-rc30.1.1/fs/quota.c --- linux-2.6.17.11-vs2.1.1-rc30.1/fs/quota.c 2006-08-25 19:41:39 +0200 +++ linux-2.6.17.11-vs2.1.1-rc30.1.1/fs/quota.c 2006-08-25 20:01:03 +0200 @@ -61,8 +61,6 @@ out: return ERR_PTR(err); } -void invalidate_dquots(struct dqhash *, int); - void destroy_dqhash(struct dqhash *hash) { vxdprintk(VXD_CBIT(misc, 0), @@ -71,10 +69,6 @@ void destroy_dqhash(struct dqhash *hash) lock_kernel(); list_del_init(&hash->dqh_list); unlock_kernel(); -#ifdef CONFIG_QUOTA - for (int cnt = 0; cnt < MAXQUOTAS; cnt++) /* should not be required anymore! */ - invalidate_dquots(hash, cnt); -#endif kfree(hash); }