diff options
author | Henry C Chang <henry_c_chang@tcloudcomputing.com> | 2010-12-17 09:55:59 -0800 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2010-12-17 09:55:59 -0800 |
commit | 361cf40519a491f68b28ad90225e4611c4bf8e12 (patch) | |
tree | ac0a77f2d6b36d4140bbaf3b8c14a37e8ae1ef11 /mm/vmalloc.c | |
parent | b6aa5901c7a2bd90d0b6b9866300d2648b2568f3 (diff) | |
download | linux-361cf40519a491f68b28ad90225e4611c4bf8e12.tar.gz linux-361cf40519a491f68b28ad90225e4611c4bf8e12.tar.bz2 linux-361cf40519a491f68b28ad90225e4611c4bf8e12.zip |
ceph: handle partial result from get_user_pages
The get_user_pages() helper can return fewer than the requested pages.
Error out in that case, and clean up the partial result.
Signed-off-by: Henry C Chang <henry_c_chang@tcloudcomputing.com>
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'mm/vmalloc.c')
0 files changed, 0 insertions, 0 deletions