Re: [docPATCH] mm.h documentation

Pete Wyckoff (pw@osc.edu)
Mon, 18 Jun 2001 09:35:46 -0400


riel@conectiva.com.br said:
> typedef struct page {
[..]
> + unsigned long index; /* Our offset within mapping. */

[..]
> + * A page may belong to an inode's memory mapping. In this case,
> + * page->mapping is the pointer to the inode, and page->offset is the
> + * file offset of the page (not necessarily a multiple of PAGE_SIZE).

Minor nit.

The field offset was renamed to index some time ago, but I can't
figure out if the usage changed. Can you fix the comment and educate
us?

-- Pete
-
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/