Hello.
Following patch against 2.4.0-test7 does a small cleanup in ext2/ialloc.c.
ext2_new_inode() now initializes quota on inode - I think this is more error
proof than initializing quota all over the place. Now it also uses DQUOT_DROP()
macro (which is usual way) instead of direct function call.
Honza
--- fs/ext2/ialloc.c Wed Jun 28 20:32:09 2000
+++ fs/ext2/ialloc.c Sat Jul 22 23:53:51 2000
@@ -459,8 +459,9 @@
mark_inode_dirty(inode);
unlock_super (sb);
+ DQUOT_INIT(inode);
if(DQUOT_ALLOC_INODE(sb, inode)) {
- sb->dq_op->drop(inode);
+ DQUOT_DROP(inode);
inode->i_nlink = 0;
iput(inode);
*err = -EDQUOT;