Re: 2.6.17-mm6

From: Cedric Le Goater
Date: Mon Jul 03 2006 - 08:14:29 EST


Andrew Morton wrote:
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.17/2.6.17-mm6/

This patch fixes a minor issue between the statistic infrastructure
patchset and the inode diet patchset.

thanks,

C.



From: Cedric Le Goater <clg@xxxxxxxxxx>
Subject: [statistics infrastructure] replace inode u.generic_ip with i_private

Signed-off-by: Cedric Le Goater <clg@xxxxxxxxxx>
Cc: Martin Peschke <mp3@xxxxxxxxxx>
Cc: "Theodore Ts'o" <tytso@xxxxxxx>


---
lib/statistic.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Index: 2.6.17-mm6/lib/statistic.c
===================================================================
--- 2.6.17-mm6.orig/lib/statistic.c
+++ 2.6.17-mm6/lib/statistic.c
@@ -666,7 +666,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))
@@ -749,7 +749,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;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/