diff options
| author | Sage Weil <[email protected]> | 2011-03-03 00:55:21 +0000 |
|---|---|---|
| committer | Sage Weil <[email protected]> | 2011-03-03 21:47:39 +0000 |
| commit | 38815b780285a4957852c5c9dbe94991c0b26c56 (patch) | |
| tree | 032d882544ef73d2e99208de7a6e6340df3d31ea /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | ceph: do not clear I_COMPLETE from d_release (diff) | |
| download | kernel-38815b780285a4957852c5c9dbe94991c0b26c56.tar.gz kernel-38815b780285a4957852c5c9dbe94991c0b26c56.zip | |
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 <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
