- With the new delayed restore of xattr and acl streams we
copy the stream twice. First from the SD buffer to the
stack and then again from the stack when we pop an element
into a JCR POOLMEM. This can be done a bit more efficient.
So we break the JCR struct into an union one for a build
of xattr and acl streams and one for a parse of them.
We pass the content and content_length now as arguments
along the parse (restore) code path. This saves for the
delayed version one copy and for a directory copying
is not done at all.
- Reformatted some code along the way,
- functions with more then 2 arguments are splitted
over multiple lines.
- The stream arrays etc are formated a bit
differently so they are better readable and easy
to extend.
- The build and parse function pointers are
formated a bit differently so they span
multiple lines and should be better readable.
- reformated long lines
- Fixed Tru64 acl code.