diff options
| author | Pali Rohár <[email protected]> | 2024-12-22 16:58:21 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2025-04-01 09:58:09 +0000 |
| commit | e97aec7889543663202e24ec51e1e2f9cb236472 (patch) | |
| tree | e884da962f646c78db28dd1b07c2fc961db2577e /drivers/net/xen-netback/interface.c | |
| parent | cifs: Improve SMB2+ stat() to work also without FILE_READ_ATTRIBUTES (diff) | |
| download | kernel-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
