From b907d06d11f73203e871c613a39c524e7199da49 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 8 May 2002 09:57:05 +0000 Subject: 2002-05-08 Roland McGrath * dir-lookup.c (diskfs_S_dir_lookup): int -> size_t * dir-readdir.c (diskfs_S_dir_readdir): Likewise. * file-get-trans.c (diskfs_S_file_get_translator): Likewise. * fsys-getroot.c (diskfs_S_fsys_getroot): Likewise. --- libdiskfs/dir-lookup.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libdiskfs/dir-lookup.c') diff --git a/libdiskfs/dir-lookup.c b/libdiskfs/dir-lookup.c index 1d5f58c0..54ff85ad 100644 --- a/libdiskfs/dir-lookup.c +++ b/libdiskfs/dir-lookup.c @@ -51,7 +51,7 @@ diskfs_S_dir_lookup (struct protid *dircred, int newnode = 0; struct dirstat *ds = 0; int mustbedir = 0; - int amt; + size_t amt; int type; struct protid *newpi; struct peropen *newpo; @@ -260,7 +260,7 @@ diskfs_S_dir_lookup (struct protid *dircred, if (error) diskfs_release_peropen (newpo); } - + iohelp_free_iouser (user); } @@ -458,8 +458,8 @@ diskfs_S_dir_lookup (struct protid *dircred, error = diskfs_make_peropen (np, (flags &~OPENONLY_STATE_MODES), dircred->po, &newpo); - - if (! error) + + if (! error) { error = diskfs_create_protid (newpo, dircred->user, &newpi); if (error) -- cgit v1.2.3