aboutsummaryrefslogtreecommitdiffstats
path: root/arch/frv
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2011-11-02 13:17:27 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-11-11 09:36:19 -0800
commit5f0d9e03e7e0792fbd36ba9fb9859f0ef7956a20 (patch)
treecd9ef9985579e0a316808981ba2d00c834eff8d2 /arch/frv
parent73e2fc5d34007574d25d00e7088bbd42e988bb3e (diff)
downloadkernel_samsung_smdk4412-5f0d9e03e7e0792fbd36ba9fb9859f0ef7956a20.tar.gz
kernel_samsung_smdk4412-5f0d9e03e7e0792fbd36ba9fb9859f0ef7956a20.tar.bz2
kernel_samsung_smdk4412-5f0d9e03e7e0792fbd36ba9fb9859f0ef7956a20.zip
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>
Diffstat (limited to 'arch/frv')
0 files changed, 0 insertions, 0 deletions