]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
bypasscache: don't define uio_t for ukernel
authorDerrick Brashear <shadow@dementix.org>
Mon, 10 Oct 2011 20:44:05 +0000 (16:44 -0400)
committerDerrick Brashear <shadow@dementix.org>
Tue, 11 Oct 2011 01:01:48 +0000 (18:01 -0700)
we shouldn't need this

Change-Id: I2141622a70dd9f78676633dce2e0ea11cba6a508
Reviewed-on: http://gerrit.openafs.org/5590
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/afs/afs_bypasscache.h

index af90bc41164fb19653770f6a0121813fd1fb75b1..ae7adb62202d9bb1006339f8153a49cd56132d55 100644 (file)
@@ -71,7 +71,9 @@
 #define AFS_CACHE_BYPASS_DISABLED -1
 
 #ifdef UKERNEL
+#ifdef AFS_USR_LINUX24_ENV
 typedef struct uio uio_t;
+#endif
 #ifndef PAGE_SIZE
 #define PAGE_SIZE 1024 * sizeof(long) / 8
 #endif