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
Raw File
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
Makefile
obj-y				+= tty_io.o n_tty.o tty_ioctl.o tty_ldisc.o \
				   tty_buffer.o tty_port.o tty_mutex.o
obj-$(CONFIG_LEGACY_PTYS)	+= pty.o
obj-$(CONFIG_UNIX98_PTYS)	+= pty.o
obj-$(CONFIG_AUDIT)		+= tty_audit.o
obj-$(CONFIG_MAGIC_SYSRQ)	+= sysrq.o
obj-$(CONFIG_N_HDLC)		+= n_hdlc.o
obj-$(CONFIG_N_GSM)		+= n_gsm.o
obj-$(CONFIG_R3964)		+= n_r3964.o

obj-y				+= vt/
back to top