Fix a bug that was causing a 'lockmgr: draining against myself' panic when
authorMatthew Dillon <dillon@dragonflybsd.org>
Sat, 28 Aug 2004 23:04:23 +0000 (23:04 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sat, 28 Aug 2004 23:04:23 +0000 (23:04 +0000)
commit7ab77df6c407ca400f363c0f644251a31a0b4538
tree76c12f3a53aeeeb9bdea3a49d98e26d21771c24e
parente870850a2b62de1e25eccc07ba508050be846d2b
Fix a bug that was causing a 'lockmgr: draining against myself' panic when
you operated on a NULL mount of a NFS partition.  NFS's lookup() code was not
properly setting the CNP_PDIRUNLOCK flag.  NULLFS's lookup code depends on
this flag to determine the proper lock state for the nullfs layer's vnode.
sys/vfs/nfs/nfs_vnops.c