From: Pali Rohár Date: Thu, 12 Sep 2024 12:05:45 +0000 (+0200) Subject: cifs: Show debug message when SFU Fifo type was detected X-Git-Tag: v6.12-rc1~139^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25f6bd0fb016d4746025a02ed2eb9e7ce642c348;p=thirdparty%2Fkernel%2Flinux.git cifs: Show debug message when SFU Fifo type was detected For debugging purposes it is a good idea to show detected SFU type also for Fifo. Debug message is already print for all other special types. Signed-off-by: Pali Rohár Signed-off-by: Steve French --- diff --git a/fs/smb/client/inode.c b/fs/smb/client/inode.c index d8c39989840e2..70c32b40ede00 100644 --- a/fs/smb/client/inode.c +++ b/fs/smb/client/inode.c @@ -541,6 +541,7 @@ cifs_sfu_type(struct cifs_fattr *fattr, const char *path, fattr->cf_mode &= ~S_IFMT; if (fattr->cf_eof == 0) { + cifs_dbg(FYI, "Fifo\n"); fattr->cf_mode |= S_IFIFO; fattr->cf_dtype = DT_FIFO; return 0;