diff options
author | Pali Rohár <pali@kernel.org> | 2024-09-12 14:05:45 +0200 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2024-09-15 17:42:45 +0200 |
commit | 25f6bd0fb016d4746025a02ed2eb9e7ce642c348 (patch) | |
tree | e62a5571111639486e7ddb631778e02879d6d414 /fs/smb | |
parent | cifs: Put explicit zero byte into SFU block/char types (diff) | |
download | linux-25f6bd0fb016d4746025a02ed2eb9e7ce642c348.tar.xz linux-25f6bd0fb016d4746025a02ed2eb9e7ce642c348.zip |
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 <pali@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to '')
-rw-r--r-- | fs/smb/client/inode.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/smb/client/inode.c b/fs/smb/client/inode.c index d8c39989840e..70c32b40ede0 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; |