projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7db8064
)
Use deactivate_locked_super
author
Joern Engel
<joern@logfs.org>
Fri, 26 Mar 2010 13:50:08 +0000
(14:50 +0100)
committer
Joern Engel
<joern@logfs.org>
Sat, 27 Mar 2010 10:19:16 +0000
(11:19 +0100)
Found by Al Viro.
Signed-off-by: Joern Engel <joern@logfs.org>
fs/logfs/super.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/logfs/super.c
b/fs/logfs/super.c
index 2845c41d70d4fecbbecbb0ab449ed30e6e495b1b..9d856c49afc5b7ba93618039fe5fa2ec9a3492ff 100644
(file)
--- a/
fs/logfs/super.c
+++ b/
fs/logfs/super.c
@@
-572,8
+572,7
@@
int logfs_get_sb_device(struct file_system_type *type, int flags,
return 0;
err1:
- up_write(&sb->s_umount);
- deactivate_super(sb);
+ deactivate_locked_super(sb);
return err;
err0:
kfree(super);