summaryrefslogtreecommitdiffstats
path: root/include/sys/uio.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys/uio.h')
-rw-r--r--include/sys/uio.h35
1 files changed, 24 insertions, 11 deletions
diff --git a/include/sys/uio.h b/include/sys/uio.h
index 0ef7aab63..83e9cc62a 100644
--- a/include/sys/uio.h
+++ b/include/sys/uio.h
@@ -1,3 +1,27 @@
+/*****************************************************************************\
+ * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
+ * Copyright (C) 2007 The Regents of the University of California.
+ * Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
+ * Written by Brian Behlendorf <[email protected]>.
+ * UCRL-CODE-235197
+ *
+ * This file is part of the SPL, Solaris Porting Layer.
+ * For details, see <http://github.com/behlendorf/spl/>.
+ *
+ * The SPL is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation; either version 2 of the License, or (at your
+ * option) any later version.
+ *
+ * The SPL is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ * for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with the SPL. If not, see <http://www.gnu.org/licenses/>.
+\*****************************************************************************/
+
#ifndef _SPL_UIO_H
#define _SPL_UIO_H
@@ -32,15 +56,4 @@ typedef struct aio_req {
void *aio_private;
} aio_req_t;
-/* XXX: Must be fully implemented when ZVOL is needed, for reference:
- * http://cvs.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/os/move.c
- */
-#if 0
-static __inline__ int
-uiomove(void *p, size_t n, enum uio_rw rw, struct uio *uio)
-{
- return 0;
-}
-#endif
-
#endif /* SPL_UIO_H */