diff options
| -rw-r--r-- | drivers/mtd/ubi/vmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/ubi/vmt.c b/drivers/mtd/ubi/vmt.c index d40066833abb..3531ca9a1e24 100644 --- a/drivers/mtd/ubi/vmt.c +++ b/drivers/mtd/ubi/vmt.c | |||
| @@ -639,7 +639,7 @@ int ubi_rename_volumes(struct ubi_device *ubi, struct list_head *rename_list) | |||
| 639 | } | 639 | } |
| 640 | 640 | ||
| 641 | if (!err) | 641 | if (!err) |
| 642 | paranoid_check_volumes(ubi); | 642 | err = paranoid_check_volumes(ubi); |
| 643 | return err; | 643 | return err; |
| 644 | } | 644 | } |
| 645 | 645 | ||
