patch-2.1.79 linux/include/linux/coda.h

Next file: linux/include/linux/coda_cnode.h
Previous file: linux/include/linux/byteorder/vax_endian.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.78/linux/include/linux/coda.h linux/include/linux/coda.h
@@ -16,10 +16,13 @@
 #endif 
 
 #ifdef __linux__
+#define cdev_t u_quad_t
 #if !defined(_UQUAD_T_) && (!defined(__GLIBC__) || __GLIBC__ < 2)
 #define _UQUAD_T_ 1
 typedef unsigned long long u_quad_t;
 #endif 
+#else
+#define cdev_t dev_t
 #endif
 
 
@@ -146,7 +149,7 @@
 	struct timespec	va_ctime;	/* time file changed */
 	u_long		va_gen;		/* generation number of file */
 	u_long		va_flags;	/* flags defined for file */
-	dev_t		va_rdev;	/* device the special file represents */
+	cdev_t	        va_rdev;	/* device special file represents */
 	u_quad_t	va_bytes;	/* bytes of disk space held by file */
 	u_quad_t	va_filerev;	/* file modification number */
 };
@@ -237,7 +240,7 @@
 
 struct cfs_open_out {
     struct cfs_out_hdr oh;
-    dev_t	dev;
+    cdev_t	dev;
     ino_t	inode;
 };
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov