git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mtd: onenand: select MTD_PARTITIONS
[safe/jmp/linux-2.6]
/
drivers
/
mtd
/
mtdsuper.c
diff --git
a/drivers/mtd/mtdsuper.c
b/drivers/mtd/mtdsuper.c
index
92285d0
..
af8b42e
100644
(file)
--- a/
drivers/mtd/mtdsuper.c
+++ b/
drivers/mtd/mtdsuper.c
@@
-74,8
+74,7
@@
static int get_sb_mtd_aux(struct file_system_type *fs_type, int flags,
ret = fill_super(sb, data, flags & MS_SILENT ? 1 : 0);
if (ret < 0) {
- up_write(&sb->s_umount);
- deactivate_super(sb);
+ deactivate_locked_super(sb);
return ret;
}