/[hurd]/hurd/isofs/inode.c
ViewVC logotype

Diff of /hurd/isofs/inode.c

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

revision 1.14 by marcus, Tue Feb 20 19:37:28 2001 UTC revision 1.15 by roland, Tue Jun 11 21:38:13 2002 UTC
# Line 1  Line 1 
1  /*  /*
2     Copyright (C) 1997, 1998 Free Software Foundation, Inc.     Copyright (C) 1997,98,2002 Free Software Foundation, Inc.
3     Written by Thomas Bushnell, n/BSG.     Written by Thomas Bushnell, n/BSG.
4    
5     This file is part of the GNU Hurd.     This file is part of the GNU Hurd.
# Line 100  use_file_start_id (struct dirrect *recor Line 100  use_file_start_id (struct dirrect *recor
100        }        }
101    if ((rr->valid & VALID_MD) && (rr->allmode & S_IFDIR))    if ((rr->valid & VALID_MD) && (rr->allmode & S_IFDIR))
102        return 0;        return 0;
103          
104    /* If it is a symlink or a zero length file, don't use file_start.  */    /* If it is a symlink or a zero length file, don't use file_start.  */
105    if (rr->valid & VALID_SL || isonum_733 (record->size) == 0)    if (rr->valid & VALID_SL || isonum_733 (record->size) == 0)
106      return 0;      return 0;
# Line 163  cache_inode (struct node *np, struct dir Line 163  cache_inode (struct node *np, struct dir
163  /* Fetch inode with cache id ID; set *NPP to the node structure;  /* Fetch inode with cache id ID; set *NPP to the node structure;
164     gain one user reference and lock the node. */     gain one user reference and lock the node. */
165  error_t  error_t
166  diskfs_cached_lookup (int id, struct node **npp)  diskfs_cached_lookup (ino_t id, struct node **npp)
167  {  {
168    struct node *np;    struct node *np;
169    error_t err;    error_t err;

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

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