Hello.
Browsing my 'sent' mailbox I found out I sent you wrong patch (I already
sent you that patch and it was fixing something completly else). So now
I'm sending you proper patch. I'm sorry...
Honza.
> 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.
--sdtB3X0nJg68CQEu
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="quota-fix-2.2.12-1.diff"
--- linux/include/linux/quotaops.h Tue Aug 17 11:30:46 1999
+++ linux/include/linux/quotaops.h Thu Sep 9 17:11:49 1999
@@ -99,8 +99,7 @@
int error = -EDQUOT;
if (dentry->d_inode->i_sb->dq_op) {
- if (IS_QUOTAINIT(dentry->d_inode) == 0)
- dentry->d_inode->i_sb->dq_op->initialize(dentry->d_inode, -1);
+ dentry->d_inode->i_sb->dq_op->initialize(dentry->d_inode, -1);
error = dentry->d_inode->i_sb->dq_op->transfer(dentry, iattr, current->fsuid);
} else {
error = notify_change(dentry, iattr);
--sdtB3X0nJg68CQEu--
-
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/