summaryrefslogtreecommitdiff
path: root/include/acpi/container.h
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2011-03-03 00:55:21 (GMT)
committerSage Weil <sage@newdream.net>2011-03-03 21:47:39 (GMT)
commit38815b780285a4957852c5c9dbe94991c0b26c56 (patch)
tree032d882544ef73d2e99208de7a6e6340df3d31ea /include/acpi/container.h
parent16a8b70a5a757db513f036bbcc73309f6c507d81 (diff)
downloadlinux-fsl-qoriq-38815b780285a4957852c5c9dbe94991c0b26c56.tar.xz
libceph: fix handling of short returns from get_user_pages
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>
Diffstat (limited to 'include/acpi/container.h')
0 files changed, 0 insertions, 0 deletions