Skip to content

cifs: Add attribute read/write support to SMB2+

Ronnie Sahlberg linux-cifs 1 version Applied

Status from this message: merged into cifs-2.6.git for-next

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2cifs: Add support for reading attributes on SMB2+fs/cifs/smb2ops.c fs/cifs/smb2pdu.c fs/cifs/smb2pdu.h +1 more+169 -01 reply
2/2cifs: Add support for writing attributes on SMB2+fs/cifs/cifsglob.h fs/cifs/cifsproto.h fs/cifs/cifssmb.c +4 more+79 -41 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchPavel Shilovsky
1/2A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] cifs: Add attribute read/write support to SMB2+

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