| Index: fs/ecryptfs/super.c
|
| diff --git a/fs/ecryptfs/super.c b/fs/ecryptfs/super.c
|
| index 9bcba4b80e8028f1ca5d34fb4091a65168ca8c6b..1a037f77aa52c1a0abcccfcfd24dcb9cceb63bff 100644
|
| --- a/fs/ecryptfs/super.c
|
| +++ b/fs/ecryptfs/super.c
|
| @@ -55,6 +55,7 @@ static struct inode *ecryptfs_alloc_inode(struct super_block *sb)
|
| if (unlikely(!inode_info))
|
| goto out;
|
| ecryptfs_init_crypt_stat(&inode_info->crypt_stat);
|
| + mutex_init(&inode_info->lower_file_mutex);
|
| inode_info->lower_file = NULL;
|
| inode = &inode_info->vfs_inode;
|
| out:
|
| @@ -199,7 +200,7 @@ static int ecryptfs_show_options(struct seq_file *m, struct vfsmount *mnt)
|
| const struct super_operations ecryptfs_sops = {
|
| .alloc_inode = ecryptfs_alloc_inode,
|
| .destroy_inode = ecryptfs_destroy_inode,
|
| - .drop_inode = generic_drop_inode,
|
| + .drop_inode = generic_delete_inode,
|
| .put_super = ecryptfs_put_super,
|
| .statfs = ecryptfs_statfs,
|
| .remount_fs = NULL,
|
|
|