summaryrefslogtreecommitdiffstats
path: root/arch/arm/mm/context.c
diff options
context:
space:
mode:
authorDavid Howells2007-05-09 14:42:20 +0200
committerLinus Torvalds2007-05-09 22:04:03 +0200
commitc855ff3718e5f667b463b20b9de516b4cd7625ad (patch)
tree5f5f2db132c80705db2254fc8f2f222160228aa5 /arch/arm/mm/context.c
parentMerge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus... (diff)
downloadkernel-qcow2-linux-c855ff3718e5f667b463b20b9de516b4cd7625ad.tar.gz
kernel-qcow2-linux-c855ff3718e5f667b463b20b9de516b4cd7625ad.tar.xz
kernel-qcow2-linux-c855ff3718e5f667b463b20b9de516b4cd7625ad.zip
Fix a bad error case handling in read_cache_page_async()
Commit 6fe6900e1e5b6fa9e5c59aa5061f244fe3f467e2 introduced a nasty bug in read_cache_page_async(). It added a "mark_page_accessed(page)" at the final return path in read_cache_page_async(). But in error cases, 'page' holds the error code, and you can't mark it accessed. [ and Glauber de Oliveira Costa points out that we can use a return instead of adding more goto's ] Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Nick Piggin <npiggin@suse.de> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/arm/mm/context.c')
0 files changed, 0 insertions, 0 deletions