aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/sancov_plugin.c
diff options
context:
space:
mode:
authorPali Rohár <[email protected]>2024-12-26 13:56:33 +0000
committerSteve French <[email protected]>2025-01-29 23:20:40 +0000
commit32ba03042ab2618f2622e4dae57ca802ac982e39 (patch)
treed70132f9a103cd0bcafefb7c56dc6c27f38f8bf7 /scripts/gcc-plugins/sancov_plugin.c
parentcifs: Remove symlink member from cifs_open_info_data union (diff)
downloadkernel-32ba03042ab2618f2622e4dae57ca802ac982e39.tar.gz
kernel-32ba03042ab2618f2622e4dae57ca802ac982e39.zip
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 <[email protected]> Acked-by: Paulo Alcantara (Red Hat) <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions