summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Marek Vasut [Wed, 6 Feb 2019 12:19:29 +0000 (13:19 +0100)]
fs: ext4: Unmount FS in do_fs_type()
Unlike other generic FS accessors, fs_get_info() does not call fs_close()
at the end of it's operation. Thus, using fs_get_info() in do_fs_type()
without calling fs_close() causes potential memory leak by creating new
filesystem structures on each call of do_fs_type().
The test case to trigger this problem is as follows. It is required to
have ext4 filesystem on the first partition of the SDMMC device, since
ext4 requires stateful mount and causes memory allocation.
=> while true ; do mmc rescan ; fstype mmc 1 ; done
Eventually, the mounting of ext4 will fail due to malloc failures
and the filesystem will not be correctly detected.
This patch fixes the problem by adding the missing fs_close().
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Tom Rini <trini@konsulko.com>
Gbp-Pq: Topic upstream
Gbp-Pq: Name fs-ext4-Unmount-FS-in-do_fs_type.patch
Vagrant Cascadian [Fri, 1 Mar 2019 04:42:31 +0000 (04:42 +0000)]
test-imagetools-test-fixes
This patch allows testing in an alternate directory and also detects
failures to execute commands, treating that as a failure.
Gbp-Pq: Name test-imagetools-test-fixes
Vagrant Cascadian [Fri, 1 Mar 2019 04:42:31 +0000 (04:42 +0000)]
omap5_distro_bootcmd
Enable distro_bootcmd support (doc/README.distro) for omap5 targets.
Gbp-Pq: Topic am57xx
Gbp-Pq: Name omap5_distro_bootcmd
Vagrant Cascadian [Fri, 1 Mar 2019 04:42:31 +0000 (04:42 +0000)]
ensure-config-sandbox-for-make-env
Ensure that CONFIG_SANDBOX is set when running "make env", avoiding a
failure to build caused by config_distro_bootcmd.h following the wrong
codepath...
Gbp-Pq: Name ensure-config-sandbox-for-make-env.patch
Vagrant Cascadian [Fri, 1 Mar 2019 04:42:31 +0000 (04:42 +0000)]
sh4-fix-linker-name-prefix
Gbp-Pq: Name sh4-fix-linker-name-prefix.patch
Vagrant Cascadian [Fri, 1 Mar 2019 04:42:31 +0000 (04:42 +0000)]
board-spl-rule
Gbp-Pq: Topic arndale
Gbp-Pq: Name board-spl-rule.diff
Vagrant Cascadian [Fri, 1 Mar 2019 04:42:31 +0000 (04:42 +0000)]
n900-bootz-raw-initrd
Enable booting of zImage/vmlinuz and initrd without requiring the use of
mkimage to create uImage/uInitrd.
Gbp-Pq: Name n900-bootz-raw-initrd.diff
Vagrant Cascadian [Fri, 1 Mar 2019 04:42:31 +0000 (04:42 +0000)]
mx53loco
Enables support for ext4, the "load" command, and using bootz with raw initrds.
Gbp-Pq: Name mx53loco
Vagrant Cascadian [Fri, 1 Mar 2019 04:42:31 +0000 (04:42 +0000)]
Makefile-add-kwb-target-to-all
Add u-boot.kwb to "make all" target on Kirkwood.
Gbp-Pq: Name Makefile-add-kwb-target-to-all.patch
Vagrant Cascadian [Fri, 1 Mar 2019 04:42:31 +0000 (04:42 +0000)]
tools-generic-builds
Gbp-Pq: Name tools-generic-builds.patch
Vagrant Cascadian [Fri, 1 Mar 2019 04:42:31 +0000 (04:42 +0000)]
no-force-CROSS_COMPILE-powerpc
Debian typically builds natively, so disable forced use of
cross-compile.
Gbp-Pq: Name no-force-CROSS_COMPILE-powerpc.diff
Vagrant Cascadian [Fri, 1 Mar 2019 04:42:31 +0000 (04:42 +0000)]
add-debian-revision-to-u-boot-version
Add the debian revision to the U-boot version, which is displayed at
boot and can be helpful to determine which specific version is used.
Gbp-Pq: Name add-debian-revision-to-u-boot-version
Vagrant Cascadian [Fri, 1 Mar 2019 04:42:31 +0000 (04:42 +0000)]
u-boot (2019.01+dfsg-3) unstable; urgency=medium
[ Romain Perier ]
* [armel] u-boot-rpi: Add Raspberry Pi Zero W.
[ Vagrant Cascadian ]
* [armhf] u-boot-sunxi: Add bananapi_m2_berry target.
(Closes: #923443) Thanks to Lucas Nussbaum.
* [armhf] u-boot-imx: Add novena-rawsd target.
* Add patches to fix SPI and USB on Dreamplug (Closes: #923379).
Thanks to Leigh Brown and Chris Packham.
* u-boot-tools: Remove Synopsys lintian override.
* Add patch to fix spelling of "mismatched".
* Add patch to fix spelling of "download".
[dgit import unpatched u-boot 2019.01+dfsg-3]
Vagrant Cascadian [Fri, 1 Mar 2019 04:42:31 +0000 (04:42 +0000)]
Import u-boot_2019.01+dfsg-3.debian.tar.xz
[dgit import tarball u-boot 2019.01+dfsg-3 u-boot_2019.01+dfsg-3.debian.tar.xz]
Vagrant Cascadian [Tue, 15 Jan 2019 00:36:19 +0000 (00:36 +0000)]
Import u-boot_2019.01+dfsg.orig.tar.xz
[dgit import orig u-boot_2019.01+dfsg.orig.tar.xz]