lkml.org 
[lkml]   [1999]   [Sep]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectQuota fix in 2.2
  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.

--- 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;
}
\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.055 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site