]> www.infradead.org Git - users/willy/xarray.git/commit
cifs: Recognize SFU socket type
authorPali Rohár <pali@kernel.org>
Thu, 12 Sep 2024 12:05:46 +0000 (14:05 +0200)
committerSteve French <stfrench@microsoft.com>
Sun, 15 Sep 2024 15:42:45 +0000 (10:42 -0500)
commit2ba0d8947efd49d44babe7a2e72637c630fcfc42
tree652ff9c2e46b471e8aaf6e109499afa7ca35d835
parent25f6bd0fb016d4746025a02ed2eb9e7ce642c348
cifs: Recognize SFU socket type

SFU since its (first) version 3.0 supports AF_LOCAL sockets and stores them
on filesytem as system file with one zero byte. Add support for detecting
this SFU socket type into cifs_sfu_type() function.

With this change cifs_sfu_type() would correctly detect all special file
types created by SFU: fifo, socket, symlink, block and char.

Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/inode.c