summaryrefslogtreecommitdiff
path: root/ftpfs/fs.c
diff options
context:
space:
mode:
Diffstat (limited to 'ftpfs/fs.c')
-rw-r--r--ftpfs/fs.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/ftpfs/fs.c b/ftpfs/fs.c
index 86697c62..18f5a358 100644
--- a/ftpfs/fs.c
+++ b/ftpfs/fs.c
@@ -27,7 +27,7 @@
/* Create a new ftp filesystem with the given parameters. */
error_t
-ftpfs_create (char *rmt_path,
+ftpfs_create (char *rmt_path, int fsid,
struct ftp_conn_params *ftp_params,
struct ftp_conn_hooks *ftp_hooks,
struct ftpfs_params *params,
@@ -52,6 +52,9 @@ ftpfs_create (char *rmt_path,
new->node_cache_len = 0;
mutex_init (&new->node_cache_lock);
+ new->fsid = fsid;
+ new->next_inode = 2;
+
new->params = *params;
new->ftp_params = ftp_params;
new->ftp_hooks = ftp_hooks;