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
vt
Makefile -rw-r--r-- 358 bytes
n_gsm.c -rw-r--r-- 67.9 KB
n_hdlc.c -rw-r--r-- 27.6 KB
n_r3964.c -rw-r--r-- 30.7 KB
n_tty.c -rw-r--r-- 51.7 KB
pty.c -rw-r--r-- 19.4 KB
sysrq.c -rw-r--r-- 20.4 KB
tty_audit.c -rw-r--r-- 8.5 KB
tty_buffer.c -rw-r--r-- 14.1 KB
tty_io.c -rw-r--r-- 80.0 KB
tty_ioctl.c -rw-r--r-- 30.5 KB
tty_ldisc.c -rw-r--r-- 22.7 KB
tty_mutex.c -rw-r--r-- 1000 bytes
tty_port.c -rw-r--r-- 11.3 KB

back to top