[PATCH] i_generation patch

G. Allen Morris III (gam3@ann.ixlabs.com)
Tue, 04 May 1999 09:08:38 -0700


This small patch just makes sure that i_generation is in a known state
for all filesystem types.

--- linux-2.2.7/fs/inode.c Fri Apr 30 13:50:15 1999
+++ linux/fs/inode.c Tue May 4 09:05:55 1999
@@ -522,6 +522,7 @@
inode->i_nlink = 1;
inode->i_writecount = 0;
inode->i_size = 0;
+ inode->i_generation = 0;
memset(&inode->i_dquot, 0, sizeof(inode->i_dquot));
sema_init(&inode->i_sem, 1);
}

-
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/