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