The write_xattrs_to_buffer is already doing other modifications to the xattrs, like sorting keys. (look for qsort). The changes I made are a logical extension to that.
Further refinement might need a larger bunch of changes. I don't have the bandwidth for this now unfortunately.
Saving ACLs with mke2fs is completely broken now. This patch fixes the problem and I think it will be useful to merge this in so that others can benefit this.
Hi Theodore,
The write_xattrs_ to_buffer is already doing other modifications to the xattrs, like sorting keys. (look for qsort). The changes I made are a logical extension to that.
Further refinement might need a larger bunch of changes. I don't have the bandwidth for this now unfortunately.
Saving ACLs with mke2fs is completely broken now. This patch fixes the problem and I think it will be useful to merge this in so that others can benefit this.
Regards,
Sojan