diff options
author | Florian Fainelli <florian@openwrt.org> | 2006-12-18 21:57:24 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2006-12-18 21:57:24 +0000 |
commit | 79a3d66cde68c543b15791b7cf7eb98bc0855937 (patch) | |
tree | ebc016192d1d7ac0e3006123630bd3231d8fce9b /target/linux/generic-2.6/patches/000-reinstate-devfs.patch | |
parent | 704dff7c7d4f3ff0ce9401a22fdb2a393336415b (diff) | |
download | mtk-20170518-79a3d66cde68c543b15791b7cf7eb98bc0855937.zip mtk-20170518-79a3d66cde68c543b15791b7cf7eb98bc0855937.tar.gz mtk-20170518-79a3d66cde68c543b15791b7cf7eb98bc0855937.tar.bz2 |
Replace inode.u.generic_ip with inode.i_private
SVN-Revision: 5848
Diffstat (limited to 'target/linux/generic-2.6/patches/000-reinstate-devfs.patch')
-rw-r--r-- | target/linux/generic-2.6/patches/000-reinstate-devfs.patch | 2 |
1 files changed, 1 insertions, 1 deletions
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 aff55a9..5429a0e 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 */ + |