summaryrefslogtreecommitdiffstats
path: root/sys/ufs
diff options
context:
space:
mode:
authortruckman <truckman@FreeBSD.org>2005-10-16 21:31:46 +0000
committertruckman <truckman@FreeBSD.org>2005-10-16 21:31:46 +0000
commit48313c9c1a563128b40937f365b46cf89d00ab09 (patch)
tree6ca6ce98933958a9c4e02a68b9ece349af66e5be /sys/ufs
parent49fa63800052f91906b2b558e5508b854317a3ef (diff)
downloadFreeBSD-src-48313c9c1a563128b40937f365b46cf89d00ab09.zip
FreeBSD-src-48313c9c1a563128b40937f365b46cf89d00ab09.tar.gz
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
Diffstat (limited to 'sys/ufs')
-rw-r--r--sys/ufs/ufs/ufs_lookup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ufs/ufs/ufs_lookup.c b/sys/ufs/ufs/ufs_lookup.c
index b46237e..a683e35 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;
OpenPOWER on IntegriCloud