Messages in this thread Patch in this message | | | Date | Thu, 30 Sep 1999 11:57:27 +0200 | From | Jan Kara <> | Subject | Re: Quota fix in 2.2 |
| |
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.
--- 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);
| |