]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
cifs: Show reason why autodisabling serverino support
authorPali Rohár <pali@kernel.org>
Mon, 6 Jul 2026 18:29:36 +0000 (20:29 +0200)
committerSteve French <stfrench@microsoft.com>
Thu, 9 Jul 2026 13:03:19 +0000 (08:03 -0500)
commit179e3ee9856d2b5f0ccf2f24e2334bbe76efefa9
treeddebe0056170a907cc29cd63a672d4e791b1b6bb
parent9dd1964ac59d293c3684e71b4bbcd10e28f04bb4
cifs: Show reason why autodisabling serverino support

Extend cifs_autodisable_serverino() function to print also text message why
the function was called.

The text message is printed just once for mount then autodisabling
serverino support. Once the serverino support is disabled for mount it will
not be re-enabled. So those text messages do not cause flooding logs.

This change allows to debug issues why cifs.ko decide to turn off server
inode number support and hence disable support for detection of hardlinks.

Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/cifsproto.h
fs/smb/client/connect.c
fs/smb/client/dfs_cache.c
fs/smb/client/inode.c
fs/smb/client/misc.c
fs/smb/client/readdir.c