Files
kernel-tenderloin-3.0/arch/um/drivers
Richard Weinberger 5f0d9e03e7 um: fix ubd cow size
commit 8535639810e578960233ad39def3ac2157b0c3ec upstream.

ubd_file_size() cannot use ubd_dev->cow.file because at this time
ubd_dev->cow.file is not initialized.
Therefore, ubd_file_size() will always report a wrong disk size when
COW files are used.
Reading from /dev/ubd* would crash the kernel.

We have to read the correct disk size from the COW file's backing
file.

Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-11-11 09:36:19 -08:00
..
2011-03-22 17:44:09 -07:00
2011-05-25 08:39:41 -07:00
2009-04-01 08:59:17 -07:00
2009-04-01 08:59:17 -07:00
2010-10-15 15:53:27 +02:00
2009-06-25 11:22:13 -07:00
2009-06-25 11:22:13 -07:00
2009-04-01 08:59:17 -07:00
2009-04-01 08:59:17 -07:00
2011-11-11 09:36:19 -08:00
2011-05-25 08:39:41 -07:00
2011-05-25 08:39:41 -07:00
2011-05-25 08:39:41 -07:00
2011-05-25 08:39:40 -07:00
2009-04-01 08:59:17 -07:00