mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 01:38:57 +00:00
Backed out part of previous change. The example of -b mount in
manpage works again.
This commit is contained in:
parent
ee05c01758
commit
3dc942bbe9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=28188
@ -35,7 +35,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)union_vnops.c 8.32 (Berkeley) 6/23/95
|
||||
* $Id: union_vnops.c,v 1.34 1997/05/07 14:37:32 kato Exp $
|
||||
* $Id: union_vnops.c,v 1.35 1997/08/12 07:18:59 kato Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -286,9 +286,7 @@ union_lookup(ap)
|
||||
/*if (uppervp == upperdvp)
|
||||
dun->un_flags |= UN_KLOCK;*/
|
||||
|
||||
if (cnp->cn_consume != 0 || uerror == EACCES) {
|
||||
if (uerror == EACCES)
|
||||
uppervp = NULLVP;
|
||||
if (cnp->cn_consume != 0) {
|
||||
*ap->a_vpp = uppervp;
|
||||
if (!lockparent)
|
||||
cnp->cn_flags &= ~LOCKPARENT;
|
||||
|
@ -35,7 +35,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)union_vnops.c 8.32 (Berkeley) 6/23/95
|
||||
* $Id: union_vnops.c,v 1.34 1997/05/07 14:37:32 kato Exp $
|
||||
* $Id: union_vnops.c,v 1.35 1997/08/12 07:18:59 kato Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -286,9 +286,7 @@ union_lookup(ap)
|
||||
/*if (uppervp == upperdvp)
|
||||
dun->un_flags |= UN_KLOCK;*/
|
||||
|
||||
if (cnp->cn_consume != 0 || uerror == EACCES) {
|
||||
if (uerror == EACCES)
|
||||
uppervp = NULLVP;
|
||||
if (cnp->cn_consume != 0) {
|
||||
*ap->a_vpp = uppervp;
|
||||
if (!lockparent)
|
||||
cnp->cn_flags &= ~LOCKPARENT;
|
||||
|
Loading…
Reference in New Issue
Block a user