git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16a8b70
)
libceph: fix handling of short returns from get_user_pages
author
Sage Weil
<sage@newdream.net>
Thu, 3 Mar 2011 00:55:21 +0000
(16:55 -0800)
committer
Sage Weil
<sage@newdream.net>
Thu, 3 Mar 2011 21:47:39 +0000
(13:47 -0800)
get_user_pages() can return fewer pages than we ask for. We were returning
a bogus pointer/error code in that case. Instead, loop until we get all
the pages we want or get an error we can return to the caller.
Signed-off-by: Sage Weil <sage@newdream.net>
No differences found