On Wed, Nov 28, 2007 at 05:10:53PM -0800, Christoph Lameter wrote: > +/* > + * Index of the page starting on or after the given position. > + */ > +static inline pgoff_t page_cache_next(struct address_space *a, > + loff_t pos) > +{ > + return page_cache_index(a, pos + page_cache_size(a) - 1); return page_cache_index(a, pos + page_cache_mask(a)); Cheers, Dave. -- Dave Chinner Principal Engineer SGI Australian Software Group - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html