kernel-ark/arch
Paolo 'Blaisorblade' Giarrusso 2c49be99ed [PATCH] uml ubd: handle readonly status
Use the set_disk_ro() API when the backing file is read-only, to mark the disk
read-only, during the ->open().  The current hack does not work when doing a
mount -o remount.

Also, mark explicitly the code paths which should no more be triggerable (I've
removed the WARN_ON(1) things).  They should actually become BUG()s probably
but I'll avoid that since I'm not so sure the change works so well.  I gave it
only some limited testing.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
CC: Jens Axboe <axboe@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-05-01 08:58:57 -07:00
..
alpha
arm
arm26
cris
frv
h8300
i386 [PATCH] uml: fix syscall table by including $(SUBARCH)'s one, for i386 2005-05-01 08:58:55 -07:00
ia64
m32r
m68k
m68knommu
mips
parisc
ppc [PATCH] ppc32: workaround for spurious IRQs on PQ2 2005-05-01 08:58:42 -07:00
ppc64 [PATCH] ppc64: use smp_mb and smp_wmb 2005-05-01 08:58:47 -07:00
s390
sh
sh64
sparc
sparc64
um [PATCH] uml ubd: handle readonly status 2005-05-01 08:58:57 -07:00
v850
x86_64 [PATCH] x86_64: saved_command_line overflow fix 2005-05-01 08:58:52 -07:00