Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/cddl/osnet/dist/uts/common/fs/zfs For now, make vop...
details: https://anonhg.NetBSD.org/src/rev/904a2444b2b3
branches: trunk
changeset: 781358:904a2444b2b3
user: pooka <pooka%NetBSD.org@localhost>
date: Sat Sep 01 16:19:00 2012 +0000
description:
For now, make vop_islocked more like vop_lock and vop_unlock (i.e. don't
even attempt to do anything).
diffstat:
external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (26 lines):
diff -r dc653912353b -r 904a2444b2b3 external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c
--- a/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c Sat Sep 01 15:46:11 2012 +0000
+++ b/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c Sat Sep 01 16:19:00 2012 +0000
@@ -5439,6 +5439,14 @@
return 0;
}
+
+static int
+zfs_netbsd_islocked(void *v)
+{
+
+ return LK_EXCLUSIVE;
+}
+
/*
int
zfs_netbsd_getpages(void *v)
@@ -5485,7 +5493,6 @@
#define zfs_netbsd_mmap genfs_mmap
#define zfs_netbsd_getpages genfs_compat_getpages
//#define zfs_netbsd_putpages genfs_putpages
-#define zfs_netbsd_islocked genfs_islocked
int (**zfs_vnodeop_p)(void *);
const struct vnodeopv_entry_desc zfs_vnodeop_entries[] = {
Home |
Main Index |
Thread Index |
Old Index