All of lore.kernel.org
 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; 5+ 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] 5+ messages in thread

end of thread, other threads:[~2019-02-14  6:02 UTC | newest]

Thread overview: 5+ 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  7:15   ` Amir Goldstein
2019-02-14  5:50     ` Eryu Guan
2019-02-11 21:51   ` Dave Chinner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.