cifs: setfattr -x test for cifs
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 1 patch 0 repliesNew
Patches in v1 No applies recorded yet
The patch the cover letter announces is not in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/1] cifs: setfattr -x test for cifs
List,
Please find a small test for cifs that tests that setfattr -x for a non existing attribute will fail correctly. This is for a bug we recently fixed in cifs.ko where we used to return successr, since that is what the SMB2 response from the server would be.
Xfstests already have testing for setfattr -x for nonexisting attributes in generic/097 but we can not use that test in cifs since we can only allow the use of the user namespace. (No way to lock down access to read/write EA subspaces such as 'system.' prefixes and such.)
Since tests only tests a small subset of generic/097 it made more sense to me to add this as a cifs specific test instead of adding a new, redundant, generic/* test.