OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f800f09
)
UBI: error path bugfix
author
Artem Bityutskiy
<Artem.Bityutskiy@nokia.com>
Wed, 16 May 2007 12:49:16 +0000
(15:49 +0300)
committer
Artem Bityutskiy
<Artem.Bityutskiy@nokia.com>
Wed, 18 Jul 2007 13:53:27 +0000
(16:53 +0300)
No need to unlock the lock, this will be done at out_unlock.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/ubi/vmt.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/ubi/vmt.c
b/drivers/mtd/ubi/vmt.c
index
622d0d1
..
4add5c8
100644
(file)
--- a/
drivers/mtd/ubi/vmt.c
+++ b/
drivers/mtd/ubi/vmt.c
@@
-243,7
+243,6
@@
int ubi_create_volume(struct ubi_device *ubi, struct ubi_mkvol_req *req)
/* Reserve physical eraseblocks */
if (vol->reserved_pebs > ubi->avail_pebs) {
dbg_err("not enough PEBs, only %d available", ubi->avail_pebs);
- spin_unlock(&ubi->volumes_lock);
err = -ENOSPC;
goto out_unlock;
}