]> git.baikalelectronics.ru Git - kernel.git/commit
pagemap: proper read error handling
authorMarcelo Tosatti <marcelo@kvack.org>
Thu, 13 Mar 2008 19:32:35 +0000 (12:32 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 13 Mar 2008 20:11:43 +0000 (13:11 -0700)
commit421a195990a48f048ce6e9cd4f59312b317f1fd7
tree4fa4386d054b2af1b66651f8cc3d87eeb48ebf73
parent8cf6976919c48b10135b7acdae0da4b0bb49829c
pagemap: proper read error handling

Fix pagemap_read() error handling by releasing acquired resources and checking
for get_user_pages() partial failure.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Acked-by: Matt Mackall <mpm@selenic.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/task_mmu.c