summaryrefslogtreecommitdiff
path: root/libdiskfs/dir-lookup.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-05-08 09:57:05 +0000
committerRoland McGrath <roland@gnu.org>2002-05-08 09:57:05 +0000
commitb907d06d11f73203e871c613a39c524e7199da49 (patch)
tree5b223335e20a9565faf9eb82a295aa3449a8da9d /libdiskfs/dir-lookup.c
parentae4a21c8ecee7d3bb09000ff052b15772e2a6741 (diff)
2002-05-08 Roland McGrath <roland@frob.com>
* 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.
Diffstat (limited to 'libdiskfs/dir-lookup.c')
-rw-r--r--libdiskfs/dir-lookup.c8
1 files changed, 4 insertions, 4 deletions
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)