diff options
author | James Morris <jmorris@namei.org> | 2011-03-08 01:38:10 +0100 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2011-03-08 01:38:10 +0100 |
commit | fe3fa43039d47ee4e22caf460b79b62a14937f79 (patch) | |
tree | 9eab8d00f1227b9fe0959f32a62d892ed35803ba /fs/ocfs2/refcounttree.c | |
parent | KEYS: Add an iovec version of KEYCTL_INSTANTIATE (diff) | |
parent | SELinux: implement the new sb_remount LSM hook (diff) | |
download | linux-fe3fa43039d47ee4e22caf460b79b62a14937f79.tar.xz linux-fe3fa43039d47ee4e22caf460b79b62a14937f79.zip |
Merge branch 'master' of git://git.infradead.org/users/eparis/selinux into next
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 19ebc5aad391..35798b88042d 100644 --- a/fs/ocfs2/refcounttree.c +++ b/fs/ocfs2/refcounttree.c @@ -4328,7 +4328,8 @@ static int ocfs2_reflink(struct dentry *old_dentry, struct inode *dir, /* If the security isn't preserved, we need to re-initialize them. */ if (!preserve) { - error = ocfs2_init_security_and_acl(dir, new_orphan_inode); + error = ocfs2_init_security_and_acl(dir, new_orphan_inode, + &new_dentry->d_name); if (error) mlog_errno(error); } |