kernel: backport 2 mtd partitioning fixes
[openwrt/staging/wigyori.git] / target / linux / generic / pending-4.14 / 412-mtd-partial_eraseblock_unlock.patch
index 1e8c90931c10bf8e43b03233d40106cfb59119ed..3ac3496c6989ee3b8f2201ca7783f4ca0e25c7fc 100644 (file)
@@ -20,7 +20,7 @@ Signed-off-by: Tim Harvey <tharvey@gateworks.com>
 
 --- a/drivers/mtd/mtdpart.c
 +++ b/drivers/mtd/mtdpart.c
-@@ -348,7 +348,16 @@ static int part_lock(struct mtd_info *mt
+@@ -357,7 +357,16 @@ static int part_lock(struct mtd_info *mt
  static int part_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len)
  {
        struct mtd_part *part = mtd_to_part(mtd);