Skip to content

Commit 25f6bd0

Browse files
palismfrench
authored andcommitted
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 <[email protected]> Signed-off-by: Steve French <[email protected]>
1 parent bb68327 commit 25f6bd0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fs/smb/client/inode.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -541,6 +541,7 @@ cifs_sfu_type(struct cifs_fattr *fattr, const char *path,
541541
fattr->cf_mode &= ~S_IFMT;
542542

543543
if (fattr->cf_eof == 0) {
544+
cifs_dbg(FYI, "Fifo\n");
544545
fattr->cf_mode |= S_IFIFO;
545546
fattr->cf_dtype = DT_FIFO;
546547
return 0;

0 commit comments

Comments
 (0)