diff options
author | Miles Bader <miles@gnu.org> | 1997-08-12 21:21:27 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1997-08-12 21:21:27 +0000 |
commit | 44a29f744c3e453057586850ec44ed2769a5741c (patch) | |
tree | afb3f275bf3017cdecc490ea65af2626547b59cc | |
parent | e5490a381303ea6b50636434a3530dc29b34eba9 (diff) |
(ftpfs_create):
Add FSID parameter.
Initialize FSID & NEXT_INODE fields.
-rw-r--r-- | ftpfs/fs.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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; |