X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=target%2Flinux%2Fgeneric%2Fpatches-3.18%2F090-overlayfs-fallback-to-readonly-when-full.patch;h=5ed6dffccd849ed3eb8b97d8d603abe5c4c8b4cb;hb=83767cf94f909f5932540da7641a12b7dfa71d85;hp=1bcd5159dbb7a62665fc1942da7ef06c13433745;hpb=231ef70f455fcc230a400af90a13e181a2c261cd;p=openwrt-github%2F.git 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 1bcd5159db..5ed6dffccd 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; -@@ -506,6 +512,9 @@ static int ovl_remove_and_whiteout(struc - struct dentry *opaquedir = NULL; +@@ -507,6 +513,9 @@ static int ovl_remove_and_whiteout(struc int err; + int flags = 0; + if (WARN_ON(!workdir)) + return -EROFS;