kernel: bump 3.18 to 3.18.39
[openwrt-github/.git] / target / linux / generic / patches-3.18 / 090-overlayfs-fallback-to-readonly-when-full.patch
index 1bcd5159dbb7a62665fc1942da7ef06c13433745..5ed6dffccd849ed3eb8b97d8d603abe5c4c8b4cb 100644 (file)
@@ -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;