Finally fix the pesky x86-2.6 block2mtd related crash (#1058)
[openwrt.git] / target / linux / generic-2.6 / patches / 000-reinstate-devfs.patch
index aff55a9..5429a0e 100644 (file)
@@ -9519,7 +9519,7 @@ diff -urN linux-2.6.19.old/fs/devfs/base.c linux-2.6.19.dev/fs/devfs/base.c
 +{
 +      if (inode == NULL)
 +              return NULL;
-+      VERIFY_ENTRY((struct devfs_entry *)inode->u.generic_ip);
++      VERIFY_ENTRY((struct devfs_entry *)inode->i_private);
 +      return inode->i_private;
 +}                             /*  End Function get_devfs_entry_from_vfs_inode  */
 +
This page took 0.026383 seconds and 4 git commands to generate.