diff options
| author | Don Lewis <truckman@FreeBSD.org> | 2004-01-11 23:44:32 +0000 |
|---|---|---|
| committer | Don Lewis <truckman@FreeBSD.org> | 2004-01-11 23:44:32 +0000 |
| commit | b8b67f93a4c2ffc89ab22debb36ee04eb3e6a3e6 (patch) | |
| tree | 15fe7f0dce37d849325a1d33312bd8a62376d145 | |
| parent | a7a120f64953015e887cb0b10fb7d8643fc91a27 (diff) | |
Notes
| -rw-r--r-- | sys/fs/nullfs/null_vnops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/nullfs/null_vnops.c b/sys/fs/nullfs/null_vnops.c index c4d6f00f8d75..c528a1390ae0 100644 --- a/sys/fs/nullfs/null_vnops.c +++ b/sys/fs/nullfs/null_vnops.c @@ -392,7 +392,7 @@ null_lookup(ap) * Rely only on the PDIRUNLOCK flag which should be carefully * tracked by underlying filesystem. */ - if (cnp->cn_flags & PDIRUNLOCK) + if ((cnp->cn_flags & PDIRUNLOCK) && dvp->v_vnlock != ldvp->v_vnlock) VOP_UNLOCK(dvp, LK_THISLAYER, td); if ((error == 0 || error == EJUSTRETURN) && lvp != NULL) { if (ldvp == lvp) { |
