linux: generic: fix split_squashfs for 3.6
authorJonas Gorski <jogo@openwrt.org>
Tue, 6 Nov 2012 00:48:21 +0000 (00:48 +0000)
committerJonas Gorski <jogo@openwrt.org>
Tue, 6 Nov 2012 00:48:21 +0000 (00:48 +0000)
commit0722fd9c63519efbc6da72e21f5eae08254662f4
tree75dcc8fb6ce38979e3ddf7418c6e5d80e091e9d8
parent5bc7d81a20cea223fda501eedcd89ba02d04005c
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.

SVN-Revision: 34093
target/linux/generic/patches-3.6/400-rootfs_split.patch