https://github.com/torvalds/linux
Revision 361cf40519a491f68b28ad90225e4611c4bf8e12 authored by Henry C Chang on 17 December 2010, 17:55:59 UTC, committed by Sage Weil on 17 December 2010, 17:55:59 UTC
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>
1 parent b6aa590
History
Tip revision: 361cf40519a491f68b28ad90225e4611c4bf8e12 authored by Henry C Chang on 17 December 2010, 17:55:59 UTC
ceph: handle partial result from get_user_pages
Tip revision: 361cf40
File Mode Size
BUGS-parport -rw-r--r-- 319 bytes
Kconfig -rw-r--r-- 5.5 KB
Makefile -rw-r--r-- 693 bytes
TODO-parport -rw-r--r-- 594 bytes
daisy.c -rw-r--r-- 12.3 KB
ieee1284.c -rw-r--r-- 22.6 KB
ieee1284_ops.c -rw-r--r-- 23.2 KB
multiface.h -rw-r--r-- 387 bytes
parport_amiga.c -rw-r--r-- 7.5 KB
parport_atari.c -rw-r--r-- 5.6 KB
parport_ax88796.c -rw-r--r-- 9.5 KB
parport_cs.c -rw-r--r-- 5.7 KB
parport_gsc.c -rw-r--r-- 11.1 KB
parport_gsc.h -rw-r--r-- 6.1 KB
parport_ip32.c -rw-r--r-- 67.1 KB
parport_mfc3.c -rw-r--r-- 10.7 KB
parport_pc.c -rw-r--r-- 95.1 KB
parport_serial.c -rw-r--r-- 13.7 KB
parport_sunbpp.c -rw-r--r-- 10.2 KB
probe.c -rw-r--r-- 7.4 KB
procfs.c -rw-r--r-- 12.3 KB
share.c -rw-r--r-- 29.2 KB

back to top