ea_name = XATTR_NAME_ACL_ACCESS; 
ea_name = POSIX_ACL_XATTR_ACCESS; 
static struct posix_acl *jfs_get_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 size;	char *value = NULL;	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;			break;		default:			return ERR_PTR(-EINVAL);	}	if (*p_acl != JFS_ACL_NOT_CACHED)		return posix_acl_dup(*p_acl);	size = __jfs_getxattr(inode, ea_name, NULL, 0);	if (size > 0) {		value = kmalloc(size, GFP_KERNEL);		if (!value)			return ERR_PTR(-ENOMEM);		size = __jfs_getxattr(inode, ea_name, value, size);	}	if (size < 0) {		if (size == -ENODATA) {			*p_acl = NULL;			acl = NULL;		} else			acl = ERR_PTR(size);	} else {		acl = posix_acl_from_xattr(value, size);		if (!IS_ERR(acl))			*p_acl = posix_acl_dup(acl);	}	kfree(value);	return acl;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/9a59f452abe11f569e13ec16c51e6d61c54b9838/acl.c/buggy/fs/jfs/acl.c