lkml.org 
[lkml]   [2006]   [Jun]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] [PATCH 1/8] inode_diet: Replace inode.u.generic_ip with inode.i_private
> Index: linux-2.6.17/arch/s390/kernel/debug.c
> ===================================================================
> --- linux-2.6.17.orig/arch/s390/kernel/debug.c 2006-06-18 18:58:51.000000000 -0400
> +++ linux-2.6.17/arch/s390/kernel/debug.c 2006-06-18 18:58:55.000000000 -0400
> @@ -604,7 +604,7 @@
> debug_info_t *debug_info, *debug_info_snapshot;
>
> down(&debug_lock);
> - debug_info = (struct debug_info*)file->f_dentry->d_inode->u.generic_ip;
> + debug_info = (struct debug_info*)file->f_dentry->d_inode->i_private;

is this actually okay? who owns the private data in debugfs inodes?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-06-19 21:11    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog