diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-10-28 22:05:13 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-10-28 22:05:13 -0400 |
commit | ad5cb123fd0e4d929b36f0f9bbdec14cb6229ad7 (patch) | |
tree | 4c4e25e960aa1ce5bc6e9b667db9d25e88007ded /fs/ceph/file.c | |
parent | 18fc8abdb7537bf841a65ce06a33977c109acc92 (diff) |
ceph: switch to use of ->d_init()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ceph/file.c')
-rw-r--r-- | fs/ceph/file.c | 4 |
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) |