linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/1] cifs: setfattr -x test for cifs
@ 2019-02-11  5:19 Ronnie Sahlberg
  2019-02-11  5:19 ` [PATCH] cifs: add test that setfattr -x fails non-existing EAs Ronnie Sahlberg
  0 siblings, 1 reply; 3+ messages in thread
From: Ronnie Sahlberg @ 2019-02-11  5:19 UTC (permalink / raw)
  To: linux-fsdevel

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.




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-02-11 21:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-11  5:19 [PATCH 0/1] cifs: setfattr -x test for cifs Ronnie Sahlberg
2019-02-11  5:19 ` [PATCH] cifs: add test that setfattr -x fails non-existing EAs Ronnie Sahlberg
2019-02-11 21:51   ` Dave Chinner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).