]> git.baikalelectronics.ru Git - kernel.git/commit
smb3: Add debug message for new file creation with idsfromsid mount option
authorSteve French <stfrench@microsoft.com>
Fri, 12 Jun 2020 19:49:47 +0000 (14:49 -0500)
committerSteve French <stfrench@microsoft.com>
Fri, 12 Jun 2020 21:31:06 +0000 (16:31 -0500)
commit466d5d04b8a8cccb3e9ca9d42ea0c15596231dcf
tree38b11973bff7ea812122d00cf591d3cb669816f4
parent7bef0380c9d9c94e2d43093c769a35dff16350d2
smb3: Add debug message for new file creation with idsfromsid mount option

Pavel noticed that a debug message (disabled by default) in creating the security
descriptor context could be useful for new file creation owner fields
(as we already have for the mode) when using mount parm idsfromsid.

[38120.392272] CIFS: FYI: owner S-1-5-88-1-0, group S-1-5-88-2-0
[38125.792637] CIFS: FYI: owner S-1-5-88-1-1000, group S-1-5-88-2-1000

Also cleans up a typo in a comment

Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
fs/cifs/inode.c
fs/cifs/smb2pdu.c