kernel-ark/arch/um/drivers
Paolo 'Blaisorblade' Giarrusso 4833aff757 [PATCH] uml: allow again to move backing file and to override saved location
When the user specifies both a COW file and its backing file, if the previous
backing file is not found, currently UML tries again to use it and fails.

This can be corrected by changing same_backing_files() return value in that
case, so that the caller will try to change the COW file to point to the new
location, as already done in other cases.

Additionally, given the change in the meaning of the func, change its name,
invert its return value, so all values are inverted except when
stat(from_cow,&buf2) fails.  And add some comments and two minor bugfixes -
remove a fd leak (return err rather than goto out) and a repeated check.

Tested well.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Cc: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-01-18 19:20:21 -08:00
..
chan_kern.c [PATCH] TTY layer buffering revamp 2006-01-10 08:01:59 -08:00
chan_user.c [PATCH] uml console channels: fix the API of console_write 2005-11-13 18:14:14 -08:00
cow_sys.h
cow_user.c
cow.h
daemon_kern.c [PATCH] uml: make daemon transport behave properly 2006-01-18 19:20:20 -08:00
daemon_user.c [PATCH] uml: make daemon transport behave properly 2006-01-18 19:20:20 -08:00
daemon.h
fd.c [PATCH] uml: move libc-dependent utility procedures 2006-01-18 19:20:19 -08:00
harddog_kern.c
harddog_user.c
hostaudio_kern.c
line.c [PATCH] uml: SIGWINCH handling cleanup 2006-01-06 08:33:47 -08:00
Makefile
mcast_kern.c
mcast_user.c [PATCH] uml: fix mcast network driver error handling 2005-11-13 18:14:14 -08:00
mcast.h
mconsole_kern.c [PATCH] uml: eliminate doubled boot output 2006-01-11 18:42:09 -08:00
mconsole_user.c [PATCH] uml: add mconsole_reply variant with length param 2006-01-06 08:33:47 -08:00
mmapper_kern.c
net_kern.c [PATCH] uml: fix spinlock recursion and sleep-inside-spinlock in error path 2006-01-18 19:20:21 -08:00
net_user.c
null.c
pcap_kern.c
pcap_user.c
pcap_user.h
port_kern.c
port_user.c [PATCH] uml console channels: remove console_write wrappers 2005-11-13 18:14:14 -08:00
port.h
pty.c [PATCH] uml console channels: remove console_write wrappers 2005-11-13 18:14:14 -08:00
random.c
slip_common.c
slip_common.h
slip_kern.c
slip_user.c
slip.h
slirp_kern.c
slirp_user.c
slirp.h
ssl.c [PATCH] uml: Add throttling to console driver 2006-01-06 08:33:46 -08:00
ssl.h
stderr_console.c
stdio_console.c [PATCH] uml: Add throttling to console driver 2006-01-06 08:33:46 -08:00
stdio_console.h
tty.c [PATCH] uml console channels: remove console_write wrappers 2005-11-13 18:14:14 -08:00
ubd_kern.c [PATCH] uml: allow again to move backing file and to override saved location 2006-01-18 19:20:21 -08:00
ubd_user.c
xterm_kern.c
xterm.c [PATCH] uml console channels: remove console_write wrappers 2005-11-13 18:14:14 -08:00
xterm.h