diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2009-05-06 01:34:22 -0400 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2009-05-09 10:49:40 -0400 |
| commit | 6f5bbff9a1b7d6864a495763448a363bbfa96324 (patch) | |
| tree | 0067dca46f40def1c55541c34c262e06aeb8c4c8 /fs/ecryptfs | |
| parent | 74dbbdd7fdc11763f4698d2f3e684cf4446951e6 (diff) | |
Convert obvious places to deactivate_locked_super()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ecryptfs')
| -rw-r--r-- | fs/ecryptfs/main.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/ecryptfs/main.c b/fs/ecryptfs/main.c index ccabd5faa04..9f0aa9883c2 100644 --- 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, | |||
| 614 | } | 614 | } |
| 615 | goto out; | 615 | goto out; |
| 616 | out_abort: | 616 | out_abort: |
| 617 | dput(sb->s_root); | 617 | dput(sb->s_root); /* aka mnt->mnt_root, as set by get_sb_nodev() */ |
| 618 | up_write(&sb->s_umount); | 618 | deactivate_locked_super(sb); |
| 619 | deactivate_super(sb); | ||
| 620 | out: | 619 | out: |
| 621 | return rc; | 620 | return rc; |
| 622 | } | 621 | } |
