aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/interface.c
diff options
context:
space:
mode:
authorPali Rohár <[email protected]>2024-12-22 16:58:21 +0000
committerSteve French <[email protected]>2025-04-01 09:58:09 +0000
commite97aec7889543663202e24ec51e1e2f9cb236472 (patch)
treee884da962f646c78db28dd1b07c2fc961db2577e /drivers/net/xen-netback/interface.c
parentcifs: Improve SMB2+ stat() to work also without FILE_READ_ATTRIBUTES (diff)
downloadkernel-e97aec7889543663202e24ec51e1e2f9cb236472.tar.gz
kernel-e97aec7889543663202e24ec51e1e2f9cb236472.zip
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 <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions