]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/vfs/vfs_support.h
xnu-4903.270.47.tar.gz
[apple/xnu.git] / bsd / vfs / vfs_support.h
index 368528b71987f5ed2d4730d8ec842f8432d120c3..e47a467237f745c7ffce1f9409a129220560abcf 100644 (file)
@@ -1,15 +1,20 @@
 /*
  * Copyright (c) 2000-2004 Apple Computer, Inc. All rights reserved.
  *
- * @APPLE_LICENSE_HEADER_START@
- * 
+ * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
+ *
  * This file contains Original Code and/or Modifications of Original Code
  * as defined in and that are subject to the Apple Public Source License
  * Version 2.0 (the 'License'). You may not use this file except in
- * compliance with the License. Please obtain a copy of the License at
- * http://www.opensource.apple.com/apsl/ and read it before using this
- * file.
- * 
+ * compliance with the License. The rights granted to you under the License
+ * may not be used to create, or enable the creation or redistribution of,
+ * unlawful or unlicensed copies of an Apple operating system, or to
+ * circumvent, violate, or enable the circumvention or violation of, any
+ * terms of an Apple operating system software license agreement.
+ *
+ * Please obtain a copy of the License at
+ * http://www.opensource.apple.com/apsl/ and read it before using this file.
+ *
  * The Original Code and all software distributed under the License are
  * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
@@ -17,8 +22,8 @@
  * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
  * Please see the License for the specific language governing rights and
  * limitations under the License.
- * 
- * @APPLE_LICENSE_HEADER_END@
+ *
+ * @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  */
 /*
  * Copyright (c) 1998 Apple Computer, Inc.  All rights reserved.
  *
  * HISTORY
  *  18-Aug-1998 Umesh Vaishampayan (umeshv@apple.com)
- *      Created. 
+ *      Created.
  */
 
-#ifndef        _VFS_VFS_SUPPORT_H_
-#define        _VFS_VFS_SUPPORT_H_
+#ifndef _VFS_VFS_SUPPORT_H_
+#define _VFS_VFS_SUPPORT_H_
 
 #include <sys/cdefs.h>
 #include <sys/param.h>
 #include <sys/systm.h>
-#include <sys/resourcevar.h>
 #include <sys/kernel.h>
 #include <sys/file.h>
 #include <sys/stat.h>
@@ -52,7 +56,6 @@
 #include <sys/vnode_if.h>
 #include <sys/malloc.h>
 #include <sys/dirent.h>
-#include <vm/vm_pageout.h>
 
 __BEGIN_DECLS
 extern int nop_create(struct vnop_create_args *ap);
@@ -79,12 +82,6 @@ extern int err_getattr(struct vnop_getattr_args *ap);
 extern int nop_setattr(struct vnop_setattr_args *ap);
 extern int err_setattr(struct vnop_setattr_args *ap);
 
-extern int nop_getattrlist(struct vnop_getattrlist_args *ap);
-extern int err_getattrlist(struct vnop_getattrlist_args *ap);
-
-extern int nop_setattrlist(struct vnop_setattrlist_args *ap);
-extern int err_setattrlist(struct vnop_setattrlist_args *ap);
-
 extern int nop_read(struct vnop_read_args *ap);
 extern int err_read(struct vnop_read_args *ap);
 
@@ -165,9 +162,6 @@ extern int err_pagein(struct vnop_pagein_args *ap);
 extern int nop_pageout(struct vnop_pageout_args *ap);
 extern int err_pageout(struct vnop_pageout_args *ap);
 
-extern int nop_devblocksize(struct vnop_devblocksize_args *ap);
-extern int err_devblocksize(struct vnop_devblocksize_args *ap);
-
 extern int nop_searchfs(struct vnop_searchfs_args *ap);
 extern int err_searchfs(struct vnop_searchfs_args *ap);
 
@@ -184,4 +178,4 @@ extern int nop_blockmap(struct vnop_blockmap_args *ap);
 extern int err_blockmap(struct vnop_blockmap_args *ap);
 __END_DECLS
 
-#endif /* _VFS_VFS_SUPPORT_H_ */
+#endif  /* _VFS_VFS_SUPPORT_H_ */