xfs
[Top] [All Lists]

RE: attr_multi()

To: "'Steve Lord'" <lord@xxxxxxx>, "ZINKEVICIUS,MATT (HP-Loveland,ex1)" <matt_zinkevicius@xxxxxx>
Subject: RE: attr_multi()
From: "ZINKEVICIUS,MATT (HP-Loveland,ex1)" <matt_zinkevicius@xxxxxx>
Date: Thu, 10 Jan 2002 13:49:31 -0800
Cc: "'linux-xfs@xxxxxxxxxxx'" <linux-xfs@xxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
Steve,

> 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.

I just saw this too. Trying it now...

> 
> So just what is HP doing with an SGI filesystem and what do we get in
> return ;-)

NAS stuff. Storing NT ACLs as extended attributes. How about we send you a
printer for every bug you fix ;-)

--Matt


<Prev in Thread] Current Thread [Next in Thread>