diff options
| author | Pali Rohár <pali@kernel.org> | 2024-12-26 14:50:38 +0100 |
|---|---|---|
| committer | Steve French <stfrench@microsoft.com> | 2025-01-29 17:19:52 -0600 |
| commit | 65c49767dd4fc058673f9259fda1772fd398eaa7 (patch) | |
| tree | ebc2b8c7c7452f80bc2068f5abbce95226a7894d /fs/smb/client/cifsglob.h | |
| parent | a46221fcdd40a29eb08900221797ad63d0271118 (diff) | |
cifs: Remove symlink member from cifs_open_info_data union
Member 'symlink' is part of the union in struct cifs_open_info_data. Its
value is assigned on few places, but is always read through another union
member 'reparse_point'. So to make code more readable, always use only
'reparse_point' member and drop whole union structure. No function change.
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 'fs/smb/client/cifsglob.h')
| -rw-r--r-- | fs/smb/client/cifsglob.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/fs/smb/client/cifsglob.h b/fs/smb/client/cifsglob.h index 63f23a845e15..2266b5b9a19f 100644 --- a/fs/smb/client/cifsglob.h +++ b/fs/smb/client/cifsglob.h @@ -215,10 +215,7 @@ struct cifs_cred { struct cifs_open_info_data { bool adjust_tz; - union { - bool reparse_point; - bool symlink; - }; + bool reparse_point; struct { /* ioctl response buffer */ struct { |
