aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-3.18/090-overlayfs-fallback-to-readonly-when-full.patch
diff options
context:
space:
mode:
authorZoltan Herpai <wigyori@uid0.hu>2016-10-12 00:56:39 +0200
committerGitHub <noreply@github.com>2016-10-12 00:56:39 +0200
commit093184fcc4232f9b7e397e872d18772592c16cd5 (patch)
treeec112cdb04541c437183cade6d4cd95e6286e9e9 /target/linux/generic/patches-3.18/090-overlayfs-fallback-to-readonly-when-full.patch
parent7f0cba3eb9b5ab3a575875593777f269363c4d42 (diff)
parenta7099373073304de9c0b6aa6d0909b4d079ebe2f (diff)
downloadmaster-187ad058-093184fcc4232f9b7e397e872d18772592c16cd5.tar.gz
master-187ad058-093184fcc4232f9b7e397e872d18772592c16cd5.tar.bz2
master-187ad058-093184fcc4232f9b7e397e872d18772592c16cd5.zip
Merge pull request #127 from wigyori/legacy-revert
Revert legacy kernels (3.18/4.1) to last known-good release
Diffstat (limited to 'target/linux/generic/patches-3.18/090-overlayfs-fallback-to-readonly-when-full.patch')
-rw-r--r--target/linux/generic/patches-3.18/090-overlayfs-fallback-to-readonly-when-full.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/generic/patches-3.18/090-overlayfs-fallback-to-readonly-when-full.patch b/target/linux/generic/patches-3.18/090-overlayfs-fallback-to-readonly-when-full.patch
index 5ed6dffccd..1bcd5159db 100644
--- a/target/linux/generic/patches-3.18/090-overlayfs-fallback-to-readonly-when-full.patch
+++ b/target/linux/generic/patches-3.18/090-overlayfs-fallback-to-readonly-when-full.patch
@@ -76,9 +76,9 @@ Miklos
err = ovl_lock_rename_workdir(workdir, upperdir);
if (err)
goto out;
-@@ -507,6 +513,9 @@ static int ovl_remove_and_whiteout(struc
+@@ -506,6 +512,9 @@ static int ovl_remove_and_whiteout(struc
+ struct dentry *opaquedir = NULL;
int err;
- int flags = 0;
+ if (WARN_ON(!workdir))
+ return -EROFS;