SMB3: avoid confusing warning message on mount to Azure
authorSteve French <stfrench@microsoft.com>
Wed, 9 Dec 2020 03:13:31 +0000 (21:13 -0600)
committerSteve French <stfrench@microsoft.com>
Mon, 14 Dec 2020 01:12:07 +0000 (19:12 -0600)
commitebcd6de98754d9b6a5f89d7835864b1c365d432f
treea1149a5690c7f7bb7ec0bbd3359313b4e64052df
parent21ac58f495849844dfb4479cda1427bf42493262
SMB3: avoid confusing warning message on mount to Azure

Mounts to Azure cause an unneeded warning message in dmesg
   "CIFS: VFS: parse_server_interfaces: incomplete interface info"

Azure rounds up the size (by 8 additional bytes, to a
16 byte boundary) of the structure returned on the query
of the server interfaces at mount time.  This is permissible
even though different than other servers so do not log a warning
if query network interfaces response is only rounded up by 8
bytes or fewer.

CC: Stable <stable@vger.kernel.org>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/smb2ops.c