Messages in this thread Patch in this message | | | Subject | [patch] VFS inode.i_generation patch | Date | Mon, 15 Mar 1999 09:28:40 -0800 | From | "G. Allen Morris III" <> |
| |
This patch sets i_generation to a known value for filesystems that don't support it. It does not need to be zero, but it seems as good a choice as any.
--- linux-2.2.3/fs/inode.c Mon Feb 22 11:47:42 1999 +++ linux/fs/inode.c Mon Mar 15 08:45:20 1999 @@ -517,6 +517,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); } -- Allen Morris <gam3@ixlabs.com>
- 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/
| |