From 48313c9c1a563128b40937f365b46cf89d00ab09 Mon Sep 17 00:00:00 2001 From: truckman Date: Sun, 16 Oct 2005 21:31:46 +0000 Subject: [PATCH] Correct the type of the temporary variable used by ufs_lookup.c:1.78 to fix the race condition in the ufs_lookup() ISDOTDOT code. Noticed by: bde MFC after: 12 days --- sys/ufs/ufs/ufs_lookup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/ufs/ufs/ufs_lookup.c b/sys/ufs/ufs/ufs_lookup.c index b46237efe802..a683e352a0d3 100644 --- a/sys/ufs/ufs/ufs_lookup.c +++ b/sys/ufs/ufs/ufs_lookup.c @@ -153,7 +153,7 @@ ufs_lookup(ap) int flags = cnp->cn_flags; int nameiop = cnp->cn_nameiop; struct thread *td = cnp->cn_thread; - u_int32_t saved_ino; + ino_t saved_ino; bp = NULL; slotoffset = -1;