mirror of
https://github.com/torvalds/linux.git
synced 2024-09-20 06:53:04 +00:00
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>
This commit is contained in:
parent
bb68327053
commit
25f6bd0fb0
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user