diff options
author | Marcelo Tosatti <marcelo@kvack.org> | 2008-03-13 15:32:35 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-03-13 16:11:43 -0400 |
commit | fb39380b8d683b55630ba5ba381f4e43e417420e (patch) | |
tree | 4fa4386d054b2af1b66651f8cc3d87eeb48ebf73 /include | |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions