smb: client: introduce cifs_sfu_make_node()
authorPaulo Alcantara <pc@manguebit.com>
Tue, 21 Nov 2023 23:12:55 +0000 (20:12 -0300)
committerSteve French <stfrench@microsoft.com>
Thu, 23 Nov 2023 17:46:05 +0000 (11:46 -0600)
commitb0348e459c836abdb0f4b967e006d15c77cf1c87
tree2219d7a8b96d8e4223663e948bdaea9275c33434
parent45e724022e2704b5a5193fd96f378822b0448e07
smb: client: introduce cifs_sfu_make_node()

Remove duplicate code and add new helper for creating special files in
SFU (Services for UNIX) format that can be shared by SMB1+ code.

Signed-off-by: Paulo Alcantara (SUSE) <pc@manguebit.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/cifsproto.h
fs/smb/client/smb1ops.c
fs/smb/client/smb2ops.c