diff options
author | Paul Cassella <fortytwo-ivtv@manetheren.bigw.org> | 2011-02-08 22:22:52 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-03-21 20:32:33 -0300 |
commit | 793e71b667856ed6163ad0dc7de1f453e9385590 (patch) | |
tree | efca87578eb126bca58129e55ee107c72cf63d51 /fs/proc | |
parent | e45c2be9704381971d78d711e58dec35b1c4cf6f (diff) |
[media] ivtv: udma: handle get_user_pages() returning fewer pages than we asked for
get_user_pages() may return fewer page than we ask for. As we give up and
return an error in this case, we need to put_page() each of the pages we
did get.
[Andy Walls modified the patch, only removing the braces in the 'for'
statement, to eliminate a checkpatch warning.]
Signed-off-by: Paul Cassella <fortytwo-ivtv@manetheren.bigw.org>
Signed-off-by: Andy Walls <awalls@md.metrocast.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'fs/proc')
0 files changed, 0 insertions, 0 deletions