smb: move File Attributes definitions into common/fscc.h
authorChenXiaoSong <chenxiaosong@kylinos.cn>
Sun, 30 Nov 2025 13:17:15 +0000 (21:17 +0800)
committerSteve French <stfrench@microsoft.com>
Thu, 11 Dec 2025 06:53:03 +0000 (00:53 -0600)
commit2b6abb893e719f4d77f7c43975e77cdadd3bbf1e
tree254d29bc47fbf90f155d26c15bc498c230726cad
parentc97503321ed3fde6e53320b388ea23118d2473d7
smb: move File Attributes definitions into common/fscc.h

These definitions are specified in MS-FSCC 2.6, so move them into fscc.h.

Modify the following places:

  - FILE_ATTRIBUTE__MASK -> FILE_ATTRIBUTE_MASK
  - Update FILE_ATTRIBUTE_MASK value
  - cpu_to_le32(constant) -> cpu_to_le32(MACRO DEFINITION)

Signed-off-by: ChenXiaoSong <chenxiaosong@kylinos.cn>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/common/fscc.h
fs/smb/common/smb2pdu.h