diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2016-09-29 11:48:34 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-10-06 22:17:38 -0400 |
commit | 971df15bd54ad46e907046ff33750a137b2f0096 (patch) | |
tree | 0955bf83f7f8bb832a7de7a0072f180a22adfbf7 /fs/binfmt_flat.c | |
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>
Diffstat (limited to 'fs/binfmt_flat.c')
0 files changed, 0 insertions, 0 deletions