/* Find the handler for the prefix and dispatch its set() operation to remove any associated extended attribute.  */
int generic_removexattr(struct dentry *dentry, const char *name)
/* Find the handler for the prefix and dispatch its set() operation to remove any associated extended attribute.  */
int generic_removexattr(struct dentry *dentry, const char *name)
{
	struct xattr_handler *handler;
	handler = xattr_resolve_name(dentry->d_sb->s_xattr, &name);
	if (!handler)
		return -EOPNOTSUPP;
	return handler->set(dentry, name, NULL, 0,
			    XATTR_REPLACE, handler->flags);
}