lkml.org 
[lkml]   [2002]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: PATCH 2.5.2.9: ext2 unbork fs.h (part 1/7)
Em Mon, Jan 07, 2002 at 04:32:40PM -0500, Jeff Garzik escreveu:
> I am very much interested in a better solution... I could not figure
> out how to get a private pointer from a struct inode*, without using a
> nasty OFFSET_OF macro or a pointer to self as I implemented.

Why nasty, don't you like the list_head macros? 8) BTW, thats how Linus
suggested it to be done in private conversation. Look at list_entry.

- Arnaldo
-
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: 2005-03-22 13:15    [W:0.124 / U:0.472 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site