/[hurd]/hurd/ftpfs/fs.c
ViewVC logotype

Diff of /hurd/ftpfs/fs.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by miles, Mon Aug 18 18:51:30 1997 UTC revision 1.4 by roland, Sat Dec 29 00:19:39 2001 UTC
# Line 1  Line 1 
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
# Line 67  ftpfs_create (char *rmt_path, int fsid, Line 67  ftpfs_create (char *rmt_path, int fsid,
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);

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26