ea_name = XATTR_NAME_ACL_DEFAULT; 
ea_name = POSIX_ACL_XATTR_DEFAULT; 
static int jfs_set_acl(struct inode *inode, int type, struct posix_acl *acl){	char *ea_name;	struct jfs_inode_info *ji = JFS_IP(inode);	struct posix_acl **p_acl;	int rc;	int size = 0;	char *value = NULL;	if (S_ISLNK(inode->i_mode))		return -EOPNOTSUPP;	switch(type) {		case ACL_TYPE_ACCESS:			ea_name = XATTR_NAME_ACL_ACCESS;			p_acl = &ji->i_acl;			break;		case ACL_TYPE_DEFAULT:			ea_name = XATTR_NAME_ACL_DEFAULT;			p_acl = &ji->i_default_acl;			if (!S_ISDIR(inode->i_mode))				return acl ? -EACCES : 0;			break;		default:			return -EINVAL;	}	if (acl) {		size = xattr_acl_size(acl->a_count);		value = kmalloc(size, GFP_KERNEL);		if (!value)			return -ENOMEM;		rc = posix_acl_to_xattr(acl, value, size);		if (rc < 0)			goto out;	}	rc = __jfs_setxattr(inode, ea_name, value, size, 0);out:	kfree(value);	if (!rc) {		if (*p_acl && (*p_acl != JFS_ACL_NOT_CACHED))			posix_acl_release(*p_acl);		*p_acl = posix_acl_dup(acl);	}	return rc;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/9a59f452abe11f569e13ec16c51e6d61c54b9838/acl.c/buggy/fs/jfs/acl.c