commit | 971df15bd54ad46e907046ff33750a137b2f0096 | [log] [tgz] |
---|---|---|
author | Andreas Gruenbacher <agruenba@redhat.com> | Thu Sep 29 17:48:34 2016 +0200 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Thu Oct 06 22:17:38 2016 -0400 |
tree | 0955bf83f7f8bb832a7de7a0072f180a22adfbf7 | |
parent | e72a1a8b3a5a2a0c034f9ad07ca34638fc3b0c33 [diff] |
sockfs: getxattr: Fail with -EOPNOTSUPP for invalid attribute names The standard return value for unsupported attribute names is -EOPNOTSUPP, as opposed to undefined but supported attributes (-ENODATA). Also, fail for attribute names like "system.sockprotonameXXX" and simplify the code a bit. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>