BarryServer : Git

All the code for all my projects
// BarryServer : Git / Nucleus / commit / e59f635358bdd2270f14afb5677490312ae5cea2 / vfs

// Related

Nucleus

Barry Small bug-fixes e59f635 (3 years, 2 months ago)
diff --git a/vfs/devfs/super.c b/vfs/devfs/super.c
index 20d9a35..d794ba0 100644
--- a/vfs/devfs/super.c
+++ b/vfs/devfs/super.c
@@ -23,7 +23,7 @@ devfs_mount(FSType *type, int flags, const char *dev, void *data)
 
 	static Inode *inode = NULL;
 	if (!inode) {
-		Inode *inode = super_alloc_inode(super);
+		inode = super_alloc_inode(super);
 		inode->mode = S_IFDIR | 0755;
 		super->root = inode;
 	}