]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
cifs: Fix support for creating SFU fifo
authorPali Rohár <pali@kernel.org>
Tue, 7 Jul 2026 09:03:56 +0000 (11:03 +0200)
committerSteve French <stfrench@microsoft.com>
Wed, 8 Jul 2026 23:44:36 +0000 (18:44 -0500)
commit608362facd2d0f2667f68b7f42207707d59a0071
tree5410165cd028b810af2e09f89b997d8301c5a4e3
parentdde3929e8d901ae9a7c29d0577ce9ca5cb4db35d
cifs: Fix support for creating SFU fifo

SFU fifos are natively supported (created and recognized) at least by:
- Microsoft POSIX subsystem
- OpenNT/Interix subsystem
- Microsoft SFU (Windows Services for UNIX)
- Microsoft SUA (Subsystem for UNIX-based Applications)
- Windows NFS server (up to the Windows Server 2008 R2)

Windows NFS server since Windows Server 2012 uses new reparse point format
for storing new fifos, but still can recognize this old format (also in the
latest Windows Server 2022 version).

SFU-style fifo is empty regular file which has system attribute set.

These SFU-style fifos are already recognized by Linux SMB client.

But Linux SMB client is currently creating new SFU fifos in different
format which is not compatible with all those SFU-style consumers. Fix this
by creating new fifos in correct SFU format which would be recognized by
all those applications and also by existing Linux SMB clients.

This change affects only creating new fifos when mount option -o sfu is used.

Signed-off-by: Pali Rohár <pali@kernel.org>
Acked-by: Paulo Alcantara (Red Hat) <pc@manguebit.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/smb2ops.c