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
This commit is contained in:
Don Lewis 2005-10-16 21:31:46 +00:00
parent 5ef5ee7b62
commit 875e108755

View File

@ -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;