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 <[email protected]>
Subject: [statistics infrastructure] replace inode u.generic_ip with i_private
Signed-off-by: Cedric Le Goater <[email protected]>
Cc: Martin Peschke <[email protected]>
Cc: "Theodore Ts'o" <[email protected]>
---
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]