--1922273333-1778323489-835118800=:19987
Content-Type: TEXT/PLAIN; charset=US-ASCII
Hey,
This isn't really kernel related but I don't know where the quota list is.
There has been a bug for a long time in edquota when you do
edquota -p user1 user2
it would also copy the actual file count and only for the first filesystem
with the quotas. I finally had time to look into it and it ended up being
a tiny fix.
Here attached is the diff. i did it in 5 minutes so I hope it's not buggy
:)
works for me,
I don't really what the standard way is for doing a diff so plz excuse
mine if it's not standard. I include the diff at the end in case some ppl
can't read MIME
Andi Gutmans
,,,
(o o)
================================oOO==(_)==OOo=================================
Andi Gutmans - Computer Science, Israel Institute of Technology (Technion)
Email: s8152862@t2.technion.ac.il
andi@actcom.co.il
andi@vipe.technion.ac.il
andi@ccarik.technion.ac.il
.oooO Oooo.
================================( )==( )==================================
\ ( ) /
\_) (_/
79c79
< struct quotause *qup, *protoprivs, *curprivs;
--- > struct quotause *qup, *protoprivs, *curprivs, *curp; 119c119 < for (qup = protoprivs; qup; qup = qup->next) {--- > /* for (qup = protoprivs; qup; qup = qup->next) { 122c122 < }--- > } */ 127,128c127,132 < protoprivs->dqblk.dqb_curblocks = curprivs->dqblk.dqb_curblocks; < protoprivs->dqblk.dqb_curinodes = curprivs->dqblk.dqb_curinodes;--- > for (qup = protoprivs, curp = curprivs; qup; qup = qup->next, curp = curp->next) { > qup->dqblk.dqb_curblocks = curp->dqblk.dqb_curblocks; > qup->dqblk.dqb_curinodes = curp->dqblk.dqb_curinodes; > qup->dqblk.dqb_btime = 0; > qup->dqblk.dqb_itime = 0; > }--1922273333-1778323489-835118800=:19987 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="edquota.diff" Content-Transfer-Encoding: BASE64 Content-ID: <Pine.SUN.3.93-heb-2.07.960618202640.19987B@actcom.co.il> Content-Description:
NzljNzkNCjwgICAgc3RydWN0IHF1b3RhdXNlICpxdXAsICpwcm90b3ByaXZz LCAqY3VycHJpdnM7DQotLS0NCj4gICAgc3RydWN0IHF1b3RhdXNlICpxdXAs ICpwcm90b3ByaXZzLCAqY3VycHJpdnMsICpjdXJwOw0KMTE5YzExOQ0KPCAg ICAgICBmb3IgKHF1cCA9IHByb3RvcHJpdnM7IHF1cDsgcXVwID0gcXVwLT5u ZXh0KSB7DQotLS0NCj4gICAgICAvKiAgZm9yIChxdXAgPSBwcm90b3ByaXZz OyBxdXA7IHF1cCA9IHF1cC0+bmV4dCkgew0KMTIyYzEyMg0KPCAgICAgICB9 DQotLS0NCj4gICAgICAgfSAqLw0KMTI3LDEyOGMxMjcsMTMyDQo8ICAgICAg ICAgIHByb3RvcHJpdnMtPmRxYmxrLmRxYl9jdXJibG9ja3MgPSBjdXJwcml2 cy0+ZHFibGsuZHFiX2N1cmJsb2NrczsNCjwgICAgICAgICAgcHJvdG9wcml2 cy0+ZHFibGsuZHFiX2N1cmlub2RlcyA9IGN1cnByaXZzLT5kcWJsay5kcWJf Y3VyaW5vZGVzOw0KLS0tDQo+IAkgZm9yIChxdXAgPSBwcm90b3ByaXZzLCBj dXJwID0gY3VycHJpdnM7IHF1cDsgcXVwID0gcXVwLT5uZXh0LCBjdXJwID0g Y3VycC0+bmV4dCkgeyANCj4gICAgICAgICAgCXF1cC0+ZHFibGsuZHFiX2N1 cmJsb2NrcyA9IGN1cnAtPmRxYmxrLmRxYl9jdXJibG9ja3M7DQo+ICAgICAg ICAgIAlxdXAtPmRxYmxrLmRxYl9jdXJpbm9kZXMgPSBjdXJwLT5kcWJsay5k cWJfY3VyaW5vZGVzOw0KPiAJCXF1cC0+ZHFibGsuZHFiX2J0aW1lID0gMDsN Cj4gCQlxdXAtPmRxYmxrLmRxYl9pdGltZSA9IDA7DQo+IAkgfQ0K --1922273333-1778323489-835118800=:19987--