diff options
author | Miles Bader <miles@gnu.org> | 1997-08-18 18:51:30 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1997-08-18 18:51:30 +0000 |
commit | d91287ce1fde56cb61cb62664f0841ee43b0a398 (patch) | |
tree | c878a9813db61958f7876d6e348de490db14c26a /ftpfs | |
parent | dd2c5b65620bd29498b562867fe40226fbb1893a (diff) |
(ftpfs_create):
Use ftpfs_dir_null_lookup instead of ftpfs_dir_lookup.
Diffstat (limited to 'ftpfs')
-rw-r--r-- | ftpfs/fs.c | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -71,15 +71,12 @@ ftpfs_create (char *rmt_path, int fsid, if (! err) err = ftpfs_dir_create (new, super_root, rmt_path, &super_root_dir); if (! err) - err = ftpfs_dir_lookup (super_root_dir, "", &new->root); + err = ftpfs_dir_null_lookup (super_root_dir, &new->root); if (err) free (new); else - { - mutex_unlock (&new->root->lock); - *fs = new; - } + *fs = new; return err; } |