generic: mount overlayfs r/o if workdir cannot be created
authorJohn Crispin <blogic@openwrt.org>
Fri, 29 May 2015 12:36:42 +0000 (12:36 +0000)
committerJohn Crispin <blogic@openwrt.org>
Fri, 29 May 2015 12:36:42 +0000 (12:36 +0000)
commitc3f886bce7e0f58ab6cd119de35fafe281a1cfd8
treee6aa6034cf9ce820c308cf2cb23638253b80e742
parent3919b677db5f90bcf72524beb02af2a771fe0eb6
generic: mount overlayfs r/o if workdir cannot be created

This is the case e.g. if JFFS2 partition is full.

see: https://www.mail-archive.com/linux-unionfs@vger.kernel.org/msg00246.html
(a small error in a logmessage was changed and reported upstream)

runtime tested on ar71xx with kernel 3.18.11 and r45772
this paritially fixes #19564

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
Acked-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45833 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/ar71xx/patches-3.18/910-overlayfs-fallback-to-readonly-when-full.patch [new file with mode: 0644]