From: David Howells Date: Wed, 21 Apr 2010 11:01:23 +0000 (+0100) Subject: AFS: Don't pass error value to page_cache_release() in error handling X-Git-Tag: v2.6.34-rc6~80 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=083fd8b21a13742b37ab347089c73f895a896672;p=pandora-kernel.git AFS: Don't pass error value to page_cache_release() in error handling In the error handling in afs_mntpt_do_automount(), we pass an error pointer to page_cache_release() if read_mapping_page() failed. Instead, we should extend the gotos around the error handling we don't need. Reported-by: Dan Carpenter Signed-off-by: David Howells Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed