summaryrefslogtreecommitdiffstats
path: root/fs/ceph/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ceph/file.c')
-rw-r--r--fs/ceph/file.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/ceph/file.c b/fs/ceph/file.c
index 7bf08825cc11..9d1554c7d036 100644
--- a/fs/ceph/file.c
+++ b/fs/ceph/file.c
@@ -351,10 +351,6 @@ int ceph_atomic_open(struct inode *dir, struct dentry *dentry,
351 if (dentry->d_name.len > NAME_MAX) 351 if (dentry->d_name.len > NAME_MAX)
352 return -ENAMETOOLONG; 352 return -ENAMETOOLONG;
353 353
354 err = ceph_init_dentry(dentry);
355 if (err < 0)
356 return err;
357
358 if (flags & O_CREAT) { 354 if (flags & O_CREAT) {
359 err = ceph_pre_init_acls(dir, &mode, &acls); 355 err = ceph_pre_init_acls(dir, &mode, &acls);
360 if (err < 0) 356 if (err < 0)