kernel: add a new version of my netfilter speedup patches for linux 2.6.39 and 3.0
[openwrt.git] / target / linux / generic / patches-3.0 / 474-mtd_concat_sync_fix.patch
1 --- a/drivers/mtd/mtdconcat.c
2 +++ b/drivers/mtd/mtdconcat.c
3 @@ -619,7 +619,8 @@ static void concat_sync(struct mtd_info
4
5 for (i = 0; i < concat->num_subdev; i++) {
6 struct mtd_info *subdev = concat->subdev[i];
7 - subdev->sync(subdev);
8 + if (subdev->sync)
9 + subdev->sync(subdev);
10 }
11 }
12
This page took 0.036594 seconds and 5 git commands to generate.