diff options
Diffstat (limited to 'fs/ecryptfs/main.c')
-rw-r--r-- | fs/ecryptfs/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/ecryptfs/main.c b/fs/ecryptfs/main.c index eb1c5979ecaf..1b119d3bf924 100644 --- a/fs/ecryptfs/main.c +++ b/fs/ecryptfs/main.c | |||
@@ -585,8 +585,7 @@ static struct dentry *ecryptfs_mount(struct file_system_type *fs_type, int flags | |||
585 | 585 | ||
586 | /* ->kill_sb() will take care of root_info */ | 586 | /* ->kill_sb() will take care of root_info */ |
587 | ecryptfs_set_dentry_private(s->s_root, root_info); | 587 | ecryptfs_set_dentry_private(s->s_root, root_info); |
588 | ecryptfs_set_dentry_lower(s->s_root, path.dentry); | 588 | root_info->lower_path = path; |
589 | ecryptfs_set_dentry_lower_mnt(s->s_root, path.mnt); | ||
590 | 589 | ||
591 | s->s_flags |= MS_ACTIVE; | 590 | s->s_flags |= MS_ACTIVE; |
592 | return dget(s->s_root); | 591 | return dget(s->s_root); |