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
Convert obvious places to deactivate_locked_super()
[linux-2.6-block.git]
/
fs
/
ecryptfs
/
main.c
diff --git
a/fs/ecryptfs/main.c
b/fs/ecryptfs/main.c
index ccabd5faa04da4b6670d230725e6b16eebb85f6a..9f0aa9883c28544cfe6a91921f4d32aa7e9dab40 100644
(file)
--- a/
fs/ecryptfs/main.c
+++ b/
fs/ecryptfs/main.c
@@
-614,9
+614,8
@@
static int ecryptfs_get_sb(struct file_system_type *fs_type, int flags,
}
goto out;
out_abort:
- dput(sb->s_root);
- up_write(&sb->s_umount);
- deactivate_super(sb);
+ dput(sb->s_root); /* aka mnt->mnt_root, as set by get_sb_nodev() */
+ deactivate_locked_super(sb);
out:
return rc;
}