Good point from hch, but I feel even more strongly: if you're going to
do this now, please rename remove_from_page_cache (delete_from_page_cache
was what I chose back when I misdid it) - you're changing an EXPORTed
function in a subtle (well, subtlish) confusing way, which could easily
waste people's time down the line, whether in not-yet-in-tree filesystems
or backports of fixes. I'd much rather you break someone's build,
forcing them to look at what changed, than crash or leak at runtime.
If you do rename, you can keep your patch structure, introducing the
new function as a wrapper to the old at the beginning, then removing
the old function at the end.
(As you know, I do agree that it's right to decrement the reference
count at the point of removing from page cache.)
Hugh
--