Replace inode.u.generic_ip with inode.i_private
authorFlorian Fainelli <florian@openwrt.org>
Mon, 18 Dec 2006 21:57:24 +0000 (21:57 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Mon, 18 Dec 2006 21:57:24 +0000 (21:57 +0000)
SVN-Revision: 5848

target/linux/generic-2.6/patches/000-reinstate-devfs.patch

index aff55a98acb3de08ed23d0349e8c7bd7c98637ee..5429a0e4b0a8d3866902d31ef0cd29a7efd8d986 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  */
 +