diff options
| author | Peter Wemm <peter@FreeBSD.org> | 2004-03-29 22:41:21 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 2004-03-29 22:41:21 +0000 |
| commit | b21126c6b3c6b76ce20572d7fac149bd5d4f795e (patch) | |
| tree | 9ae8206254c3dd899dbfd13744073cb3aef5f1aa /sys/fs | |
| parent | 24b316d5ebe396da3d8c85468839be5d14bbfac3 (diff) | |
Notes
Diffstat (limited to 'sys/fs')
| -rw-r--r-- | sys/fs/umapfs/umap_vnops.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/fs/umapfs/umap_vnops.c b/sys/fs/umapfs/umap_vnops.c index 6a6dc086e8d8..c57147a7c9c6 100644 --- a/sys/fs/umapfs/umap_vnops.c +++ b/sys/fs/umapfs/umap_vnops.c @@ -363,6 +363,15 @@ umap_lock(ap) } */ *ap; { + /* + * vop_nolock no longer exists. I could have pasted the code + * in so that it compiles, but that would be doing our users a + * great disservice. umapfs is about 5 years behind the nullfs + * code that it is derived from. The stub locking here guarantees + * a deadlock the moment a VOP_INACTIVE arrives. There is no point + * pasting the code that makes it compile either, because that just + * makes it Even More Wrong. + */ vop_nolock(ap); if ((ap->a_flags & LK_TYPE_MASK) == LK_DRAIN) return (0); |
