/[hurd]/hurd/libdiskfs/dir-lookup.c
ViewVC logotype

Diff of /hurd/libdiskfs/dir-lookup.c

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

revision 1.51 by neal, Tue Mar 26 14:59:52 2002 UTC revision 1.52 by roland, Wed May 8 09:57:05 2002 UTC
# Line 51  diskfs_S_dir_lookup (struct protid *dirc Line 51  diskfs_S_dir_lookup (struct protid *dirc
51    int newnode = 0;    int newnode = 0;
52    struct dirstat *ds = 0;    struct dirstat *ds = 0;
53    int mustbedir = 0;    int mustbedir = 0;
54    int amt;    size_t amt;
55    int type;    int type;
56    struct protid *newpi;    struct protid *newpi;
57    struct peropen *newpo;    struct peropen *newpo;
# Line 260  diskfs_S_dir_lookup (struct protid *dirc Line 260  diskfs_S_dir_lookup (struct protid *dirc
260                    if (error)                    if (error)
261                      diskfs_release_peropen (newpo);                      diskfs_release_peropen (newpo);
262                  }                  }
263                    
264                iohelp_free_iouser (user);                iohelp_free_iouser (user);
265              }              }
266    
# Line 458  diskfs_S_dir_lookup (struct protid *dirc Line 458  diskfs_S_dir_lookup (struct protid *dirc
458    
459    error = diskfs_make_peropen (np, (flags &~OPENONLY_STATE_MODES),    error = diskfs_make_peropen (np, (flags &~OPENONLY_STATE_MODES),
460                                 dircred->po, &newpo);                                 dircred->po, &newpo);
461      
462    if (! error)      if (! error)
463      {      {
464        error = diskfs_create_protid (newpo, dircred->user, &newpi);        error = diskfs_create_protid (newpo, dircred->user, &newpi);
465        if (error)        if (error)

Legend:
Removed from v.1.51  
changed lines
  Added in v.1.52

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