1 |
/* Fs operations |
/* Fs operations |
2 |
|
|
3 |
Copyright (C) 1997 Free Software Foundation, Inc. |
Copyright (C) 1997,2001 Free Software Foundation, Inc. |
4 |
Written by Miles Bader <miles@gnu.ai.mit.edu> |
Written by Miles Bader <miles@gnu.org> |
5 |
This file is part of the GNU Hurd. |
This file is part of the GNU Hurd. |
6 |
|
|
7 |
The GNU Hurd is free software; you can redistribute it and/or |
The GNU Hurd is free software; you can redistribute it and/or |
67 |
super_root = netfs_make_node (0); |
super_root = netfs_make_node (0); |
68 |
if (! super_root) |
if (! super_root) |
69 |
err = ENOMEM; |
err = ENOMEM; |
70 |
|
else |
71 |
|
{ |
72 |
|
err = ftpfs_dir_create (new, super_root, rmt_path, &super_root_dir); |
73 |
|
if (! err) |
74 |
|
err = ftpfs_dir_null_lookup (super_root_dir, &new->root); |
75 |
|
} |
76 |
} |
} |
|
if (! err) |
|
|
err = ftpfs_dir_create (new, super_root, rmt_path, &super_root_dir); |
|
|
if (! err) |
|
|
err = ftpfs_dir_null_lookup (super_root_dir, &new->root); |
|
77 |
|
|
78 |
if (err) |
if (err) |
79 |
free (new); |
free (new); |