summaryrefslogtreecommitdiff
path: root/ftpfs
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1997-08-12 21:21:27 +0000
committerMiles Bader <miles@gnu.org>1997-08-12 21:21:27 +0000
commit44a29f744c3e453057586850ec44ed2769a5741c (patch)
treeafb3f275bf3017cdecc490ea65af2626547b59cc /ftpfs
parente5490a381303ea6b50636434a3530dc29b34eba9 (diff)
(ftpfs_create):
Add FSID parameter. Initialize FSID & NEXT_INODE fields.
Diffstat (limited to 'ftpfs')
-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;