On Thu, 2002-01-10 at 14:56, ZINKEVICIUS,MATT (HP-Loveland,ex1) wrote:
> Hi all,
> The attr_multi() function bombs out if we try to deal with more than one
> attribute at a time. Is this a know bug? I saw that there was a bug fixed
> (462005 - attr_multi broken) on IRIX. Is this related? Thanks in advance!
>
> Matt Zinkevicius
> Software Engineer
> Network Storage Array Solutions
> Hewlett-Packard
Take a look in cmd/attr/libattr/attr.c
In the _attr_multif() function, there is a call to attrctl, the
last argument is 1, I suspect it should be count instead.
if (attrctl(obj, type, ops, 1) < 0) {
error = -1;
goto free_mem;
}
becomes
if (attrctl(obj, type, ops, count) < 0) {
error = -1;
goto free_mem;
}
Just a guess and I have not tried it.
So just what is HP doing with an SGI filesystem and what do we get in
return ;-)
Steve
--
Steve Lord voice: +1-651-683-3511
Principal Engineer, Filesystem Software email: lord@xxxxxxx
|