[Unionfs] xattr bug?
hooanon05 at yahoo.co.jp
hooanon05 at yahoo.co.jp
Sun Mar 12 19:45:47 EST 2006
Is this a bug?
Junjiro Okajima
--- unionfs-20060308-2131/copyup.c 10 Mar 2006 13:47:41 -0000 1.1
+++ unionfs-20060308-2131/copyup.c 13 Mar 2006 00:43:57 -0000 1.5
@@ -76,7 +77,7 @@ static int copyup_xattrs(struct dentry *
mutex_lock(&new_hidden_dentry->d_inode->i_mutex);
err =
- security_inode_setxattr(old_hidden_dentry, name_list,
+ security_inode_setxattr(new_hidden_dentry, name_list,
attr_value, size, 0);
if (!err) {
@@ -85,7 +86,7 @@ static int copyup_xattrs(struct dentry *
setxattr(new_hidden_dentry, name_list, attr_value,
size, 0);
if (!err)
- security_inode_post_setxattr(old_hidden_dentry,
+ security_inode_post_setxattr(new_hidden_dentry,
name_list,
attr_value, size,
0);
More information about the unionfs
mailing list