linux: generic: fix split_squashfs for 3.6
authorjogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 6 Nov 2012 00:48:21 +0000 (00:48 +0000)
committerjogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 6 Nov 2012 00:48:21 +0000 (00:48 +0000)
commitab0f1978a239ecfea50d680167f0a7308e866937
treee636f2fa114ec2c22a228af05469942b76442c57
parentefe94bf411defcd76e08b4c389a6eb4b89e90e6a
linux: generic: fix split_squashfs for 3.6

_read expects the retlen to be initialized to zero, which the mtd_read
helper does. So fix it by using mtd_read instead of calling _read directly.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34093 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/generic/patches-3.6/400-rootfs_split.patch