summaryrefslogtreecommitdiffstats
path: root/sys/fs
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2001-06-15 12:30:46 +0000
committerdes <des@FreeBSD.org>2001-06-15 12:30:46 +0000
commitcf75a40bc52f0c99f3605beabd037b0cc51c55dc (patch)
treea833437a6f6592ff97042550abc44d51cbc8e56b /sys/fs
parent1d67a55f97bd02672905b3f163798e5c536a1fb0 (diff)
downloadFreeBSD-src-cf75a40bc52f0c99f3605beabd037b0cc51c55dc.zip
FreeBSD-src-cf75a40bc52f0c99f3605beabd037b0cc51c55dc.tar.gz
#if 0 out pfs_null() to silence the warning about it not being referenced.
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/pseudofs/pseudofs_vnops.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/fs/pseudofs/pseudofs_vnops.c b/sys/fs/pseudofs/pseudofs_vnops.c
index eb08e1d..ea26435 100644
--- a/sys/fs/pseudofs/pseudofs_vnops.c
+++ b/sys/fs/pseudofs/pseudofs_vnops.c
@@ -437,7 +437,9 @@ pfs_setattr(struct vop_setattr_args *va)
* Dummy operations
*/
static int pfs_erofs(void *va) { return (EROFS); }
+#if 0
static int pfs_null(void *va) { return (0); }
+#endif
/*
* Vnode operations
OpenPOWER on IntegriCloud