Thread (15 messages) 15 messages, 4 authors, 2012-11-28

Re: extended attributes wiredness

From: Liu Bo <hidden>
Date: 2012-11-24 03:39:38

On Fri, Nov 23, 2012 at 10:09:16PM +0100, David Arendt wrote:
Well, this is only code to demonstrate the problem, the ; is normally a
silly mistake, but for my test case valuelen is < 0 so, the ; doesn't
change anything. With this corrected, the problem stays the same.

On 11/23/12 21:43, Garry T. Williams wrote:
quoted
On Friday, November 23, 2012 18:45:04 David Arendt wrote:
quoted
  for (i = 0; i < attrslen; i+= strlen(&attrs[i]) + 1)
  {
    printf("processing attribute %s\n", &attrs[i]);

    valuelen = lgetxattr(argv[1], &attrs[i], value, 1024);

    if (valuelen < 0);
  Hmmm ----------------^
Hi David,

Any dmesg output for this?

thanks,
liubo
quoted
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help