Date: Thu, 16 Nov 2006 21:34:36 GMT From: Todd Miller <millert@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 110132 for review Message-ID: <200611162134.kAGLYaVg004890@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=110132 Change 110132 by millert@millert_macbook on 2006/11/16 21:34:17 For F_SETSIZE set vp before we drop the proc lock like the other parts of fcntl(). Affected files ... .. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/bsd/kern/kern_descrip.c#9 edit Differences ... ==== //depot/projects/trustedbsd/sedarwin8/darwin/xnu/bsd/kern/kern_descrip.c#9 (text+ko) ==== @@ -671,13 +671,13 @@ error = EBADF; goto out; } + vp = (struct vnode *)fp->f_data; proc_fdunlock(p); error = copyin(argp, (caddr_t)&offset, sizeof (off_t)); if (error) goto outdrop; - vp = (struct vnode *)fp->f_data; error = vnode_getwithref(vp); if (error) goto outdrop;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611162134.kAGLYaVg004890>