diff options
| author | Andreas Gruenbacher <agruenba@redhat.com> | 2016-09-29 17:48:34 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-03-23 08:44:21 +0100 |
| commit | c776cff6de5291edffd3f31b4c1750b48756ac48 (patch) | |
| tree | e3a0108df96d19be4a8b628be03ffa766a3edbde /tools/perf/scripts/python/Perf-Trace-Util/lib | |
| parent | c8d66722d84b7d543073edf3459e024869b706e3 (diff) | |
sockfs: getxattr: Fail with -EOPNOTSUPP for invalid attribute names
commit 971df15bd54ad46e907046ff33750a137b2f0096 upstream.
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>
[removes a build warning on 4.4.y - gregkh]
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions
