[patch] afs: passing an ERR_PTR() to page_cache_release()

David Howells dhowells at redhat.com
Wed Apr 21 06:54:13 EDT 2010


Dan Carpenter <error27 at gmail.com> wrote:

> In the error handling we try to release "page" if it's not NULL.

A better way to do this is to add another goto label and skip that bit of the
error handling.

David



More information about the linux-afs mailing list