projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzi...
[cascardo/linux.git]
/
fs
/
super.c
diff --git
a/fs/super.c
b/fs/super.c
index
8349ed6
..
6ce5014
100644
(file)
--- a/
fs/super.c
+++ b/
fs/super.c
@@
-371,8
+371,10
@@
retry:
continue;
if (!grab_super(old))
goto retry;
continue;
if (!grab_super(old))
goto retry;
- if (s)
+ if (s) {
+ up_write(&s->s_umount);
destroy_super(s);
destroy_super(s);
+ }
return old;
}
}
return old;
}
}
@@
-387,6
+389,7
@@
retry:
err = set(s, data);
if (err) {
spin_unlock(&sb_lock);
err = set(s, data);
if (err) {
spin_unlock(&sb_lock);
+ up_write(&s->s_umount);
destroy_super(s);
return ERR_PTR(err);
}
destroy_super(s);
return ERR_PTR(err);
}