android_kernel_xiaomi_sm8350/arch/um
Jeff Dike f4768ffd1d uml: fix previous request size limit fix
The previous patch which limited the number of sectors in a single request
to a COWed device was correct in concept, but the limit was implemented in
the wrong place.

By putting it in ubd_add, it covered the cases where the COWing was
specified on the command line.  However, when the command line only has the
COW file specified, the fact that it's a COW file isn't known until it's
opened, so the limit is missed in these cases.

This patch moves the sector limit from ubd_add to ubd_open_dev.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-08-22 19:52:46 -07:00
..
drivers uml: fix previous request size limit fix 2007-08-22 19:52:46 -07:00
include uml: Eliminate kernel allocator wrappers 2007-07-16 09:05:38 -07:00
kernel Remove fs.h from mm.h 2007-07-29 17:09:29 -07:00
os-Linux uml: more __init annotations 2007-07-24 12:24:58 -07:00
scripts
sys-i386 uml: fix string exporting on UML/i386 2007-07-24 12:24:58 -07:00
sys-ia64
sys-ppc
sys-x86_64 fix uml-x86_64 2007-05-15 18:56:37 -07:00
defconfig i386: Allow KVM on i386 nonpae 2007-07-19 14:37:05 -07:00
Kconfig uml: fix kernel stack size on x86_64 2007-06-08 17:23:33 -07:00
Kconfig.char
Kconfig.debug Add generic exit-time stack-depth checking to CONFIG_DEBUG_STACK_USAGE 2007-07-16 09:05:38 -07:00
Kconfig.i386
Kconfig.net
Kconfig.x86_64
Makefile fallout from kbuild changes 2007-07-19 18:37:54 -07:00
Makefile-i386
Makefile-ia64
Makefile-os-Linux
Makefile-ppc
Makefile-skas
Makefile-tt
Makefile-x86_64