Quota fix in 2.2

Jan Kara (jack@atrey.karlin.mff.cuni.cz)
Fri, 10 Sep 1999 21:23:58 +0200


--jCHc7DPkfUGtrlwl
Content-Type: text/plain; charset=us-ascii

Hello.

I'm sending you fix of small bug in quota. The problem was that if you turned user quotas
on, opened some file, closed the file and turned group quotas on than if you did chgrp
quota didn't take effect on that file. I know it's improbable but it's a bug. Please
apply following patch. It is against 2.2.11.

Honza.

--jCHc7DPkfUGtrlwl
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="quota-fix-2.2.11-1.diff"

--- linux/CREDITS Tue Aug 17 11:29:53 1999
+++ linux/CREDITS Fri Aug 20 12:45:57 1999
@@ -988,6 +988,15 @@
S: 8103 Rein
S: Austria

+N: Jan Kara
+E: jack@atrey.karlin.mff.cuni.cz
+D: Quota fixes for 2.2 kernel
+D: Few other fixes in filesystem area (isofs, loopback)
+W: http://atrey.karlin.mff.cuni.cz/~jack/
+S: Krosenska' 543
+S: 181 00 Praha 8
+S: Czech Republic
+
N: Jan "Yenya" Kasprzak
E: kas@fi.muni.cz
D: Author of the COSA/SRP sync serial board driver.
--- linux/fs/dquot.c Tue Aug 17 11:30:34 1999
+++ linux/fs/dquot.c Fri Aug 20 12:32:43 1999
@@ -641,6 +641,8 @@
dquot->dq_count--;
return NODQUOT;
}
+ dquot->dq_referenced++;
+ dqstats.lookups++;
return dquot;
}

--jCHc7DPkfUGtrlwl--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/