diff options
author | Roland McGrath <roland@gnu.org> | 2002-06-11 21:41:06 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-06-11 21:41:06 +0000 |
commit | b19c3a2f52cffed8c457b6b16f03d4e05bc96390 (patch) | |
tree | ef9f6c747669462c0a17c16bbe1ee930d621fabb | |
parent | 7a278aeb3ad6efa16ded2f0a0c19a9392fe131f5 (diff) |
2002-06-08 Roland McGrath <roland@frob.com>
* inode.c (diskfs_cached_lookup): Use ino_t for argument.
-rw-r--r-- | isofs/inode.c | 6 | ||||
-rw-r--r-- | ufs/inode.c | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/isofs/inode.c b/isofs/inode.c index 6ce4c60e..3ec4d8f0 100644 --- a/isofs/inode.c +++ b/isofs/inode.c @@ -1,5 +1,5 @@ /* - Copyright (C) 1997, 1998 Free Software Foundation, Inc. + Copyright (C) 1997,98,2002 Free Software Foundation, Inc. Written by Thomas Bushnell, n/BSG. This file is part of the GNU Hurd. @@ -100,7 +100,7 @@ use_file_start_id (struct dirrect *record, struct rrip_lookup *rr) } if ((rr->valid & VALID_MD) && (rr->allmode & S_IFDIR)) return 0; - + /* If it is a symlink or a zero length file, don't use file_start. */ if (rr->valid & VALID_SL || isonum_733 (record->size) == 0) return 0; @@ -163,7 +163,7 @@ cache_inode (struct node *np, struct dirrect *record, /* Fetch inode with cache id ID; set *NPP to the node structure; gain one user reference and lock the node. */ error_t -diskfs_cached_lookup (int id, struct node **npp) +diskfs_cached_lookup (ino_t id, struct node **npp) { struct node *np; error_t err; diff --git a/ufs/inode.c b/ufs/inode.c index a258ea13..a8bb661f 100644 --- a/ufs/inode.c +++ b/ufs/inode.c @@ -1,5 +1,5 @@ /* Inode management routines - Copyright (C) 1994,95,96,97,98,2000,01 Free Software Foundation, Inc. + Copyright (C) 1994,95,96,97,98,2000,01,02 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -47,7 +47,7 @@ inode_init () /* Fetch inode INUM, set *NPP to the node structure; gain one user reference and lock the node. */ error_t -diskfs_cached_lookup (int inum, struct node **npp) +diskfs_cached_lookup (ino_t inum, struct node **npp) { struct disknode *dn; struct node *np; |