diff options
Diffstat (limited to 'fs/ocfs2/refcounttree.c')
-rw-r--r-- | fs/ocfs2/refcounttree.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ocfs2/refcounttree.c b/fs/ocfs2/refcounttree.c index b5f9160e93e9..cd3f5b4832ef 100644 --- a/fs/ocfs2/refcounttree.c +++ b/fs/ocfs2/refcounttree.c | |||
@@ -4325,7 +4325,8 @@ static int ocfs2_reflink(struct dentry *old_dentry, struct inode *dir, | |||
4325 | 4325 | ||
4326 | /* If the security isn't preserved, we need to re-initialize them. */ | 4326 | /* If the security isn't preserved, we need to re-initialize them. */ |
4327 | if (!preserve) { | 4327 | if (!preserve) { |
4328 | error = ocfs2_init_security_and_acl(dir, new_orphan_inode); | 4328 | error = ocfs2_init_security_and_acl(dir, new_orphan_inode, |
4329 | &new_dentry->d_name); | ||
4329 | if (error) | 4330 | if (error) |
4330 | mlog_errno(error); | 4331 | mlog_errno(error); |
4331 | } | 4332 | } |