Displaying 1 result from an estimated 1 matches for "ocfs_attrib_fifo".
2004 Jun 02
0
[PATCH] kill 2.4 dev_t vs kdev_t crap
The difference between kdev_t and dev_t in 2.4 is rather theoretical, no
need to clutter up the source for it.
Index: src/inode.c
===================================================================
--- src/inode.c (revision 969)
+++ src/inode.c (working copy)
@@ -1877,11 +1872,8 @@
case OCFS_ATTRIB_FIFO:
case OCFS_ATTRIB_SOCKET:
{
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
dev_t dev;
-#else
- kdev_t kdev;
-#endif
+
if (fe->attribs == OCFS_ATTRIB_CHAR)
inode->i_mode |= S_IFCHR;
else if (fe->attribs == OCFS_ATTRIB_BLOCK)
@@ -1892,18 +1884,8 @@
inode-&g...