linux/arch/um
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
..
drivers [PATCH] uml ubd: handle readonly status 2005-05-01 08:58:57 -07:00
include [PATCH] uml: redo console locking 2005-05-01 08:58:56 -07:00
kernel [PATCH] uml: fix syscall table by including $(SUBARCH)'s one, for i386 2005-05-01 08:58:55 -07:00
os-Linux [PATCH] uml: fix handling of no fpx_regs 2005-05-01 08:58:53 -07:00
scripts Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sys-i386 [PATCH] uml: fix syscall table by including $(SUBARCH)'s one, for i386 2005-05-01 08:58:55 -07:00
sys-ia64 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sys-ppc Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sys-x86_64 [PATCH] uml: fix syscall table by including $(SUBARCH)'s one, for x86-64 2005-05-01 08:58:55 -07:00
util Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
config.release Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
defconfig [PATCH] uml: support AES i586 crypto driver 2005-05-01 08:58:54 -07:00
Kconfig [PATCH] uml: support AES i586 crypto driver 2005-05-01 08:58:54 -07:00
Kconfig_char Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig_i386 [PATCH] uml: support AES i586 crypto driver 2005-05-01 08:58:54 -07:00
Kconfig_net Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig_scsi Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig_x86_64 [PATCH] uml: support AES i586 crypto driver 2005-05-01 08:58:54 -07:00
Kconfig.debug Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile-i386 [PATCH] uml: support AES i586 crypto driver 2005-05-01 08:58:54 -07:00
Makefile-ia64 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile-os-Linux Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile-ppc Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile-skas Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile-tt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile-x86_64 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00