diff options
Diffstat (limited to 'fs/ecryptfs/file.c')
-rw-r--r-- | fs/ecryptfs/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ecryptfs/file.c b/fs/ecryptfs/file.c index 6f4e659f508f..b07731e68c0b 100644 --- a/fs/ecryptfs/file.c +++ b/fs/ecryptfs/file.c | |||
@@ -230,7 +230,7 @@ static int ecryptfs_open(struct inode *inode, struct file *file) | |||
230 | } | 230 | } |
231 | ecryptfs_set_file_lower( | 231 | ecryptfs_set_file_lower( |
232 | file, ecryptfs_inode_to_private(inode)->lower_file); | 232 | file, ecryptfs_inode_to_private(inode)->lower_file); |
233 | if (S_ISDIR(ecryptfs_dentry->d_inode->i_mode)) { | 233 | if (d_is_dir(ecryptfs_dentry)) { |
234 | ecryptfs_printk(KERN_DEBUG, "This is a directory\n"); | 234 | ecryptfs_printk(KERN_DEBUG, "This is a directory\n"); |
235 | mutex_lock(&crypt_stat->cs_mutex); | 235 | mutex_lock(&crypt_stat->cs_mutex); |
236 | crypt_stat->flags &= ~(ECRYPTFS_ENCRYPTED); | 236 | crypt_stat->flags &= ~(ECRYPTFS_ENCRYPTED); |