diff options
author | Pali Rohár <pali@kernel.org> | 2024-12-26 16:56:33 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2025-01-30 02:20:40 +0300 |
commit | 32ba03042ab2618f2622e4dae57ca802ac982e39 (patch) | |
tree | d70132f9a103cd0bcafefb7c56dc6c27f38f8bf7 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 65c49767dd4fc058673f9259fda1772fd398eaa7 (diff) | |
download | linux-32ba03042ab2618f2622e4dae57ca802ac982e39.tar.xz |
cifs: Simplify reparse point check in cifs_query_path_info() function
For checking if path is reparse point and setting data->reparse_point
member, it is enough to check if ATTR_REPARSE is present.
It is not required to call CIFS_open() without OPEN_REPARSE_POINT and
checking for -EOPNOTSUPP error code.
Signed-off-by: Pali Rohár <pali@kernel.org>
Acked-by: Paulo Alcantara (Red Hat) <pc@manguebit.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions