Tested against both Samba shares as well as Win7 shares. Version 5: * Learn how to use endianness macros correctly. Version 4: * Remove remaining CamelCase * ea_value_length is __le16, not __u16 Version 3: * No CamelCase in new code. * No declarations inside loops. Version 2: * For reading attributes we need FILE_READ_EA not FILE_READ_ATTRIBUTES -- To unsubscribe from this list: send the line "unsubscribe linux-cifs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html