commit | fb39380b8d683b55630ba5ba381f4e43e417420e | [log] [tgz] |
---|---|---|
author | Marcelo Tosatti <marcelo@kvack.org> | Thu Mar 13 12:32:35 2008 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Mar 13 13:11:43 2008 -0700 |
tree | 4fa4386d054b2af1b66651f8cc3d87eeb48ebf73 | |
parent | b500ce8d24d1f14426643da5f6fada28c1f60533 [diff] |
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>