projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
UBI: set correct gluebi device size
[linux-2.6-block.git]
/
drivers
/
mtd
/
ubi
/
cdev.c
diff --git
a/drivers/mtd/ubi/cdev.c
b/drivers/mtd/ubi/cdev.c
index 6612eb79bf17b2fd7529ed9a4aba00e6a6060637..959044a2ddbffa0abfa7114a4b1b3b79a7ac7988 100644
(file)
--- a/
drivers/mtd/ubi/cdev.c
+++ b/
drivers/mtd/ubi/cdev.c
@@
-397,6
+397,7
@@
static ssize_t vol_cdev_write(struct file *file, const char __user *buf,
vol->corrupted = 1;
}
vol->checked = 1;
+ ubi_gluebi_updated(vol);
revoke_exclusive(desc, UBI_READWRITE);
}