From: Cedric Le Goater Signed-off-by: Cedric Le Goater Cc: Martin Peschke Cc: "Theodore Ts'o" Signed-off-by: Andrew Morton --- lib/statistic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -puN lib/statistic.c~statistics-replace-inode-ugeneric_ip-with-i_private lib/statistic.c --- a/lib/statistic.c~statistics-replace-inode-ugeneric_ip-with-i_private +++ a/lib/statistic.c @@ -625,7 +625,7 @@ static int statistic_generic_open(struct struct file *file, struct statistic_interface **interface, struct statistic_file_private **private) { - *interface = inode->u.generic_ip; + *interface = inode->i_private; BUG_ON(!interface); *private = kzalloc(sizeof(struct statistic_file_private), GFP_KERNEL); if (unlikely(!*private)) @@ -708,7 +708,7 @@ static ssize_t statistic_generic_write(s static int statistic_def_close(struct inode *inode, struct file *file) { - struct statistic_interface *interface = inode->u.generic_ip; + struct statistic_interface *interface = inode->i_private; struct statistic_file_private *private = file->private_data; struct sgrb_seg *seg, *seg_nl; int offset; _