]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ksmbd: use volume UUID in FS_OBJECT_ID_INFORMATION
authorNamjae Jeon <linkinjeon@kernel.org>
Fri, 13 Mar 2026 01:01:29 +0000 (10:01 +0900)
committerSteve French <stfrench@microsoft.com>
Wed, 18 Mar 2026 02:45:29 +0000 (21:45 -0500)
commit3a64125730cabc34fccfbc230c2667c2e14f7308
tree34a2935674e00907d5b336127b580dc6bb95f591
parent282343cf8a4a5a3603b1cb0e17a7083e4a593b03
ksmbd: use volume UUID in FS_OBJECT_ID_INFORMATION

Use sb->s_uuid for a proper volume identifier as the primary choice.
For filesystems that do not provide a UUID, fall back to stfs.f_fsid
obtained from vfs_statfs().

Cc: stable@vger.kernel.org
Reported-by: Hyunwoo Kim <imv4bel@gmail.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/server/smb2pdu.c