]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
cifs: Show debug message when SFU Fifo type was detected
authorPali Rohár <pali@kernel.org>
Thu, 12 Sep 2024 12:05:45 +0000 (14:05 +0200)
committerSteve French <stfrench@microsoft.com>
Sun, 15 Sep 2024 15:42:45 +0000 (10:42 -0500)
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 <pali@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/inode.c

index d8c39989840e20c942fc800c6fd1569e6d606404..70c32b40ede007038a9042a57d9601aefdf4efdf 100644 (file)
@@ -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;