Index: uspace/lib/libfs/libfs.c
===================================================================
--- uspace/lib/libfs/libfs.c	(revision 9a3d5f0d0c12e51832c4770d65a3472c07e267b1)
+++ uspace/lib/libfs/libfs.c	(revision 1025d287b38dfbafd8f22c00a259f14af70cbab6)
@@ -192,5 +192,5 @@
 				void *nodep;
 				if (lflag & L_CREATE)
-					nodep = ops->create(lflag);
+					nodep = ops->create(dev_handle, lflag);
 				else
 					nodep = ops->node_get(dev_handle,
@@ -263,5 +263,5 @@
 			void *nodep;
 			if (lflag & L_CREATE)
-				nodep = ops->create(lflag);
+				nodep = ops->create(dev_handle, lflag);
 			else
 				nodep = ops->node_get(dev_handle, index);
Index: uspace/lib/libfs/libfs.h
===================================================================
--- uspace/lib/libfs/libfs.h	(revision 9a3d5f0d0c12e51832c4770d65a3472c07e267b1)
+++ uspace/lib/libfs/libfs.h	(revision 1025d287b38dfbafd8f22c00a259f14af70cbab6)
@@ -46,5 +46,5 @@
 	void * (* node_get)(dev_handle_t, fs_index_t);
 	void (* node_put)(void *);
-	void * (* create)(int);
+	void * (* create)(dev_handle_t, int);
 	int (* destroy)(void *);
 	bool (* link)(void *, void *, const char *);
Index: uspace/srv/fs/fat/fat_ops.c
===================================================================
--- uspace/srv/fs/fat/fat_ops.c	(revision 9a3d5f0d0c12e51832c4770d65a3472c07e267b1)
+++ uspace/srv/fs/fat/fat_ops.c	(revision 1025d287b38dfbafd8f22c00a259f14af70cbab6)
@@ -245,5 +245,5 @@
 }
 
-static void *fat_create(int flags)
+static void *fat_create(dev_handle_t dev_handle, int flags)
 {
 	return NULL;	/* not supported at the moment */
Index: uspace/srv/fs/tmpfs/tmpfs_dump.c
===================================================================
--- uspace/srv/fs/tmpfs/tmpfs_dump.c	(revision 9a3d5f0d0c12e51832c4770d65a3472c07e267b1)
+++ uspace/srv/fs/tmpfs/tmpfs_dump.c	(revision 1025d287b38dfbafd8f22c00a259f14af70cbab6)
@@ -80,5 +80,5 @@
 				return false;
 			
-			node = (tmpfs_dentry_t *) ops->create(L_FILE);
+			node = (tmpfs_dentry_t *) ops->create(dev, L_FILE);
 			if (node == NULL) {
 				free(fname);
@@ -122,5 +122,5 @@
 				return false;
 			
-			node = (tmpfs_dentry_t *) ops->create(L_DIRECTORY);
+			node = (tmpfs_dentry_t *) ops->create(dev, L_DIRECTORY);
 			if (node == NULL) {
 				free(fname);
Index: uspace/srv/fs/tmpfs/tmpfs_ops.c
===================================================================
--- uspace/srv/fs/tmpfs/tmpfs_ops.c	(revision 9a3d5f0d0c12e51832c4770d65a3472c07e267b1)
+++ uspace/srv/fs/tmpfs/tmpfs_ops.c	(revision 1025d287b38dfbafd8f22c00a259f14af70cbab6)
@@ -65,4 +65,6 @@
 static tmpfs_dentry_t *root;
 
+#define TMPFS_DEV		0	/**< Dummy device handle for TMPFS */
+
 /*
  * Implementation of the libfs interface.
@@ -73,5 +75,5 @@
 static void *tmpfs_node_get(dev_handle_t, fs_index_t);
 static void tmpfs_node_put(void *);
-static void *tmpfs_create_node(int);
+static void *tmpfs_create_node(dev_handle_t, int);
 static bool tmpfs_link_node(void *, void *, const char *);
 static int tmpfs_unlink_node(void *, void *);
@@ -229,5 +231,5 @@
 	if (!hash_table_create(&dentries, DENTRIES_BUCKETS, 1, &dentries_ops))
 		return false;
-	root = (tmpfs_dentry_t *) tmpfs_create_node(L_DIRECTORY);
+	root = (tmpfs_dentry_t *) tmpfs_create_node(TMPFS_DEV, L_DIRECTORY);
 	if (!root) {
 		hash_table_destroy(&dentries);
@@ -283,5 +285,5 @@
 }
 
-void *tmpfs_create_node(int lflag)
+void *tmpfs_create_node(dev_handle_t dev_handle, int lflag)
 {
 	assert((lflag & L_FILE) ^ (lflag & L_DIRECTORY));
