Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 360851
b: refs/heads/master
c: bbcb03e
h: refs/heads/master
i:
  360849: 5ce8ef4
  360847: d2a169a
v: v3
  • Loading branch information
Tyler Hicks committed Jan 17, 2013
1 parent 9656400 commit 0ebcf54
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fa5199648e273a5e3e80aca41c1eb53700438dc1
refs/heads/master: bbcb03e3ce8c76a4ecf0ea7d365f9f0e913fc329
2 changes: 0 additions & 2 deletions trunk/fs/ecryptfs/dentry.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,12 @@
static int ecryptfs_d_revalidate(struct dentry *dentry, unsigned int flags)
{
struct dentry *lower_dentry;
struct vfsmount *lower_mnt;
int rc = 1;

if (flags & LOOKUP_RCU)
return -ECHILD;

lower_dentry = ecryptfs_dentry_to_lower(dentry);
lower_mnt = ecryptfs_dentry_to_lower_mnt(dentry);
if (!lower_dentry->d_op || !lower_dentry->d_op->d_revalidate)
goto out;
rc = lower_dentry->d_op->d_revalidate(lower_dentry, flags);
Expand Down
2 changes: 0 additions & 2 deletions trunk/fs/ecryptfs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,6 @@ static int ecryptfs_open(struct inode *inode, struct file *file)
struct dentry *ecryptfs_dentry = file->f_path.dentry;
/* Private value of ecryptfs_dentry allocated in
* ecryptfs_lookup() */
struct dentry *lower_dentry;
struct ecryptfs_file_info *file_info;

mount_crypt_stat = &ecryptfs_superblock_to_private(
Expand All @@ -222,7 +221,6 @@ static int ecryptfs_open(struct inode *inode, struct file *file)
rc = -ENOMEM;
goto out;
}
lower_dentry = ecryptfs_dentry_to_lower(ecryptfs_dentry);
crypt_stat = &ecryptfs_inode_to_private(inode)->crypt_stat;
mutex_lock(&crypt_stat->cs_mutex);
if (!(crypt_stat->flags & ECRYPTFS_POLICY_APPLIED)) {
Expand Down

0 comments on commit 0ebcf54

Please sign in to comment.