Date: Thu, 12 Jul 2007 16:27:11 GMT From: Roman Divacky <rdivacky@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 123389 for review Message-ID: <200707121627.l6CGRBs0062769@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=123389 Change 123389 by rdivacky@rdivacky_witten on 2007/07/12 16:26:54 s/vfslocked1/dvfslocked/ Suggested by: jhb Affected files ... .. //depot/projects/soc2007/rdivacky/linux_at/sys/kern/vfs_syscalls.c#46 edit Differences ... ==== //depot/projects/soc2007/rdivacky/linux_at/sys/kern/vfs_syscalls.c#46 (text+ko) ==== @@ -1354,9 +1354,9 @@ } } if (dvp) { - int vfslocked1 = VFS_NEEDSGIANT(dvp->v_mount); + int dvfslocked = VFS_NEEDSGIANT(dvp->v_mount); vrele(dvp); - VFS_UNLOCK_GIANT(vfslocked1); + VFS_UNLOCK_GIANT(dvfslocked); } NDFREE(&nd, NDF_ONLY_PNBUF); vput(nd.ni_dvp); @@ -1477,9 +1477,9 @@ out: #endif if (dvp) { - int vfslocked1 = VFS_NEEDSGIANT(dvp->v_mount); + int dvfslocked = VFS_NEEDSGIANT(dvp->v_mount); vrele(dvp); - VFS_UNLOCK_GIANT(vfslocked1); + VFS_UNLOCK_GIANT(dvfslocked); } vput(nd.ni_dvp); vn_finished_write(mp); @@ -1972,9 +1972,9 @@ NDFREE(&nd, NDF_ONLY_PNBUF); vput(nd.ni_dvp); if (dvp) { - int vfslocked1 = VFS_NEEDSGIANT(dvp->v_mount); + int dvfslocked = VFS_NEEDSGIANT(dvp->v_mount); vrele(dvp); - VFS_UNLOCK_GIANT(vfslocked1); + VFS_UNLOCK_GIANT(dvfslocked); } if (vp == nd.ni_dvp) vrele(vp); @@ -4109,9 +4109,9 @@ out: #endif if (dvp) { - int vfslocked1 = VFS_NEEDSGIANT(dvp->v_mount); + int dvfslocked = VFS_NEEDSGIANT(dvp->v_mount); vrele(dvp); - VFS_UNLOCK_GIANT(vfslocked1); + VFS_UNLOCK_GIANT(dvfslocked); } NDFREE(&nd, NDF_ONLY_PNBUF); vput(nd.ni_dvp); @@ -4216,9 +4216,9 @@ NDFREE(&nd, NDF_ONLY_PNBUF); vput(vp); if (dvp) { - int vfslocked1 = VFS_NEEDSGIANT(dvp->v_mount); + int dvfslocked = VFS_NEEDSGIANT(dvp->v_mount); vrele(dvp); - VFS_UNLOCK_GIANT(vfslocked1); + VFS_UNLOCK_GIANT(dvfslocked); } if (nd.ni_dvp == vp) vrele(nd.ni_dvp);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707121627.l6CGRBs0062769>