summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2024-12-22 19:58:21 +0300
committerSteve French <stfrench@microsoft.com>2025-04-01 12:58:09 +0300
commite97aec7889543663202e24ec51e1e2f9cb236472 (patch)
treee884da962f646c78db28dd1b07c2fc961db2577e /tools/perf/scripts/python/libxed.py
parentb07687edee99b9e53465fbd7f24406616f67070e (diff)
downloadlinux-e97aec7889543663202e24ec51e1e2f9cb236472.tar.xz
cifs: Do not add FILE_READ_ATTRIBUTES when using GENERIC_READ/EXECUTE/ALL
Individual bits GENERIC_READ, GENERIC_EXECUTE and GENERIC_ALL have meaning which includes also access right for FILE_READ_ATTRIBUTES. So specifying FILE_READ_ATTRIBUTES bit together with one of those GENERIC (except GENERIC_WRITE) does not do anything. This change prevents calling additional (fallback) code and sending more requests without FILE_READ_ATTRIBUTES when the primary request fails on -EACCES, as it is not needed at all. Signed-off-by: Pali Rohár <pali@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions