From: Florian Fainelli Date: Mon, 18 Dec 2006 21:57:24 +0000 (+0000) Subject: Replace inode.u.generic_ip with inode.i_private X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=79a3d66cde68c543b15791b7cf7eb98bc0855937;p=openwrt%2Fstaging%2Frobimarko.git Replace inode.u.generic_ip with inode.i_private SVN-Revision: 5848 --- diff --git a/target/linux/generic-2.6/patches/000-reinstate-devfs.patch b/target/linux/generic-2.6/patches/000-reinstate-devfs.patch index aff55a98ac..5429a0e4b0 100644 --- a/target/linux/generic-2.6/patches/000-reinstate-devfs.patch +++ b/target/linux/generic-2.6/patches/000-reinstate-devfs.patch @@ -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 */ +