From c4f1014088eb63078347a0783e5f6360fe606028 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 11 Jun 2002 21:39:15 +0000 Subject: 2002-06-08 Roland McGrath * io-identity.c (netfs_S_io_identity): Use ino_t for FILENO. --- libnetfs/io-identity.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'libnetfs/io-identity.c') diff --git a/libnetfs/io-identity.c b/libnetfs/io-identity.c index e259a0f7..e62a01e4 100644 --- a/libnetfs/io-identity.c +++ b/libnetfs/io-identity.c @@ -1,5 +1,5 @@ /* libnetfs implementation of io_identity RPC - Copyright (C) 1996 Free Software Foundation, Inc. + Copyright (C) 1996, 2002 Free Software Foundation, Inc. Written by Michael I. Bushnell, p/BSG. This file is part of the GNU Hurd. @@ -27,17 +27,17 @@ netfs_S_io_identity (struct protid *cred, mach_msg_type_name_t *idtype, mach_port_t *fsys, mach_msg_type_name_t *fsystype, - int *fileno) + ino_t *fileno) { struct node *np; error_t err; - + if (!cred) return EOPNOTSUPP; - + np = cred->po->np; mutex_lock (&np->lock); - + err = netfs_validate_stat (np, cred->user); if (err) { @@ -55,7 +55,7 @@ netfs_S_io_identity (struct protid *cred, *fsys = netfs_fsys_identity; *fsystype = MACH_MSG_TYPE_MAKE_SEND; *fileno = np->nn_stat.st_ino; - + mutex_unlock (&np->lock); return 0; } -- cgit v1.2.3