summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorZhangGuoDong <zhangguodong@kylinos.cn>2026-09-21 09:41:28 +0800
committerPaulo Alcantara <pc@manguebit.org>2026-09-22 22:12:10 -0300
commita1259e92e1e892f009bbebf23e1207b02e2d5708 (patch)
tree95b014f22904a38b8c0aca7ce676752a6e9deb85 /fs
parent2e828035d5d736d904c238ae7ec3f77c0d6270bf (diff)
downloadlinux-a1259e92e1e892f009bbebf23e1207b02e2d5708.tar.gz
linux-a1259e92e1e892f009bbebf23e1207b02e2d5708.zip
smb: client: update POSIX extension specification references
The POSIX extension specifications have now been published: https://smb3posix.org/ Suggested-by: Paulo Alcantara <pc@manguebit.org> Reviewed-by: ChenXiaoSong <chenxiaosong@kylinos.cn> Signed-off-by: ZhangGuoDong <zhangguodong@kylinos.cn> Reviewed-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Paulo Alcantara <pc@manguebit.org>
Diffstat (limited to 'fs')
-rw-r--r--fs/smb/client/smb2pdu.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/fs/smb/client/smb2pdu.h b/fs/smb/client/smb2pdu.h
index ab6c667bebc0..b37a1e3941a1 100644
--- a/fs/smb/client/smb2pdu.h
+++ b/fs/smb/client/smb2pdu.h
@@ -224,8 +224,7 @@ struct smb2_file_id_extd_directory_info {
extern char smb2_padding[7];
/*
- * See POSIX-SMB2 2.2.14.2.16
- * Link: https://gitlab.com/samba-team/smb3-posix-spec/-/blob/master/smb3_posix_extensions.md
+ * See POSIX-SMB2 2.1.3.2.1
*/
struct create_posix_rsp {
u32 nlink;
@@ -238,6 +237,7 @@ struct create_posix_rsp {
#define SMB2_QUERY_DIRECTORY_IOV_SIZE 2
/*
+ * See POSIX-FSCC 2.2.1
* SMB2-only POSIX info level for query dir
*
* See posix_info_sid_size(), posix_info_extra_size() and
@@ -256,13 +256,17 @@ struct smb2_posix_info {
__le64 Inode;
__le32 DeviceId;
__le32 Zero;
- /* beginning of POSIX Create Context Response */
+ /*
+ * Beginning of POSIX Create Context Response
+ * See POSIX-SMB2 2.1.3.2.1
+ */
__le32 HardLinks;
__le32 ReparseTag;
__le32 Mode;
/*
* var sized owner SID
* var sized group SID
+ * End of POSIX Create Context Response
* le32 filenamelength
* u8 filename[]
*/