android_kernel_xiaomi_sm8350/arch
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
..
alpha
arm
avr32
blackfin
cris ide: fix hidden dependencies on CONFIG_IDE_GENERIC 2007-08-20 22:42:54 +02:00
frv
h8300 h8300: missing include 2007-08-22 19:52:44 -07:00
i386 Fix lazy mode vmalloc synchronization for paravirt 2007-08-22 11:10:47 -07:00
ia64 [IA64] Enable early console for Ski simulator 2007-08-17 13:44:15 -07:00
m32r
m68k m68k: Dont include RODATA into text segment 2007-08-22 19:52:45 -07:00
m68knommu
mips
parisc
powerpc [POWERPC] Fix PCI Device ID for MPC8544/8533 processors 2007-08-21 19:15:31 -05:00
ppc
s390 [S390] kprobes: fix instruction length calculation 2007-08-22 13:51:49 +02:00
sh sh: remove extraneous ; on scif_sercon_putc wait loop 2007-08-17 01:25:34 +09:00
sh64
sparc [SPARC32]: Revert f642b26380. 2007-08-20 23:40:01 -07:00
sparc64
um uml: fix previous request size limit fix 2007-08-22 19:52:46 -07:00
v850
x86_64 x86_64: Check for .cfi_rel_offset in CFI probe 2007-08-18 10:25:25 -07:00
xtensa