Re: Checking page_count(page) in invalidate_complete_page

Steve Dickson
2006-10-04T19:53:25Z

Andrew Morton wrote:
>> A "WARN_ON(ret != 0);" placed at the end of
>> invalidate_inode_pages2_range() should be sufficient and harmless.
>
> true. I think. I'll take a look at adding a WARN_ON_ONCE().
Something like that would be very good... imho...

steved.