summaryrefslogtreecommitdiffstats
path: root/sys/ntfs/ntfs_vfsops.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2013-01-02 08:12:13 +0000
committerjsing <jsing@openbsd.org>2013-01-02 08:12:13 +0000
commit7eb03c72ea498dd9921d211fcdfae763a8dfe623 (patch)
tree4eb4403028d33dc26bd6970f810ca51d927e32b4 /sys/ntfs/ntfs_vfsops.c
parentAdd the remaining Radeon rv610/rv620/rv630/rv635/rv670, (diff)
downloadwireguard-openbsd-7eb03c72ea498dd9921d211fcdfae763a8dfe623.tar.xz
wireguard-openbsd-7eb03c72ea498dd9921d211fcdfae763a8dfe623.zip
Remove code that is not used on OpenBSD.
ok miod@ krw@
Diffstat (limited to 'sys/ntfs/ntfs_vfsops.c')
-rw-r--r--sys/ntfs/ntfs_vfsops.c27
1 files changed, 1 insertions, 26 deletions
diff --git a/sys/ntfs/ntfs_vfsops.c b/sys/ntfs/ntfs_vfsops.c
index 86de5919f16..9a0849b5e37 100644
--- a/sys/ntfs/ntfs_vfsops.c
+++ b/sys/ntfs/ntfs_vfsops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ntfs_vfsops.c,v 1.29 2012/09/10 11:11:00 jsing Exp $ */
+/* $OpenBSD: ntfs_vfsops.c,v 1.30 2013/01/02 08:12:13 jsing Exp $ */
/* $NetBSD: ntfs_vfsops.c,v 1.7 2003/04/24 07:50:19 christos Exp $ */
/*-
@@ -45,43 +45,18 @@
#include <sys/conf.h>
#include <sys/specdev.h>
-#if defined(__NetBSD__) || defined(__OpenBSD__)
#include <uvm/uvm_extern.h>
-#else
-#include <vm/vm.h>
-#endif
/*#define NTFS_DEBUG 1*/
-#if defined(__FreeBSD__) || defined(__NetBSD__)
-#include <fs/ntfs/ntfs.h>
-#include <fs/ntfs/ntfs_inode.h>
-#include <fs/ntfs/ntfs_subr.h>
-#include <fs/ntfs/ntfs_vfsops.h>
-#include <fs/ntfs/ntfs_ihash.h>
-#include <fs/ntfs/ntfsmount.h>
-#else
#include <ntfs/ntfs.h>
#include <ntfs/ntfs_inode.h>
#include <ntfs/ntfs_subr.h>
#include <ntfs/ntfs_vfsops.h>
#include <ntfs/ntfs_ihash.h>
#include <ntfs/ntfsmount.h>
-#endif
-
-#ifdef MALLOC_DEFINE
-MALLOC_DEFINE(M_NTFSMNT, "NTFS mount", "NTFS mount structure");
-MALLOC_DEFINE(M_NTFSNTNODE,"NTFS ntnode", "NTFS ntnode information");
-MALLOC_DEFINE(M_NTFSFNODE,"NTFS fnode", "NTFS fnode information");
-MALLOC_DEFINE(M_NTFSDIR,"NTFS dir", "NTFS dir buffer");
-#endif
-#if defined(__FreeBSD__)
-static int ntfs_mount(struct mount *, char *, caddr_t,
- struct nameidata *, struct proc *);
-#else
static int ntfs_mount(struct mount *, const char *, void *,
struct nameidata *, struct proc *);
-#endif
static int ntfs_quotactl(struct mount *, int, uid_t, caddr_t,
struct proc *);
static int ntfs_root(struct mount *, struct vnode **);