Displaying 1 result from an estimated 1 matches for "ocfs_attrib_char".
2004 Jun 02
0
[PATCH] kill 2.4 dev_t vs kdev_t crap
...============================
--- 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->i_mode |= S_IFSOCK;
inode->i_rdev = OCFS_NODEV;
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
- dev = MKDEV (fe->dev_major, fe->dev_minor);
-#else
- kd...