diff options
Diffstat (limited to 'fs/ecryptfs/super.c')
-rw-r--r-- | fs/ecryptfs/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ecryptfs/super.c b/fs/ecryptfs/super.c index b15a43a80ab7..278743c7716a 100644 --- a/fs/ecryptfs/super.c +++ b/fs/ecryptfs/super.c | |||
@@ -26,6 +26,7 @@ | |||
26 | #include <linux/fs.h> | 26 | #include <linux/fs.h> |
27 | #include <linux/mount.h> | 27 | #include <linux/mount.h> |
28 | #include <linux/key.h> | 28 | #include <linux/key.h> |
29 | #include <linux/slab.h> | ||
29 | #include <linux/seq_file.h> | 30 | #include <linux/seq_file.h> |
30 | #include <linux/smp_lock.h> | 31 | #include <linux/smp_lock.h> |
31 | #include <linux/file.h> | 32 | #include <linux/file.h> |
@@ -85,7 +86,6 @@ static void ecryptfs_destroy_inode(struct inode *inode) | |||
85 | if (lower_dentry->d_inode) { | 86 | if (lower_dentry->d_inode) { |
86 | fput(inode_info->lower_file); | 87 | fput(inode_info->lower_file); |
87 | inode_info->lower_file = NULL; | 88 | inode_info->lower_file = NULL; |
88 | d_drop(lower_dentry); | ||
89 | } | 89 | } |
90 | } | 90 | } |
91 | ecryptfs_destroy_crypt_stat(&inode_info->crypt_stat); | 91 | ecryptfs_destroy_crypt_stat(&inode_info->crypt_stat); |