aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ceph/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ceph/dir.c')
-rw-r--r--fs/ceph/dir.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ceph/dir.c b/fs/ceph/dir.c
index ef8f08c343e8..b6d436f3c1ae 100644
--- a/fs/ceph/dir.c
+++ b/fs/ceph/dir.c
@@ -566,7 +566,6 @@ static struct dentry *ceph_lookup(struct inode *dir, struct dentry *dentry,
566 /* open (but not create!) intent? */ 566 /* open (but not create!) intent? */
567 if (nd && 567 if (nd &&
568 (nd->flags & LOOKUP_OPEN) && 568 (nd->flags & LOOKUP_OPEN) &&
569 (nd->flags & LOOKUP_CONTINUE) == 0 && /* only open last component */
570 !(nd->intent.open.flags & O_CREAT)) { 569 !(nd->intent.open.flags & O_CREAT)) {
571 int mode = nd->intent.open.create_mode & ~current->fs->umask; 570 int mode = nd->intent.open.create_mode & ~current->fs->umask;
572 return ceph_lookup_open(dir, dentry, nd, mode, 1); 571 return ceph_lookup_open(dir, dentry, nd, mode, 1);