smb: client: make use of ib_wc_status_msg() and skip IB_WC_WR_FLUSH_ERR logging
authorStefan Metzmacher <metze@samba.org>
Tue, 12 Aug 2025 07:44:07 +0000 (09:44 +0200)
committerSteve French <stfrench@microsoft.com>
Sun, 28 Sep 2025 23:29:49 +0000 (18:29 -0500)
commita8e970358b31a5abba8b5737a67ba7b8d26f4258
tree558510fc087a6e0d7e103f3d685fd34896cf36fd
parent02548c477a90481c1fd0d6e7c84b4504ec2fcc12
smb: client: make use of ib_wc_status_msg() and skip IB_WC_WR_FLUSH_ERR logging

There's no need to get log message for every IB_WC_WR_FLUSH_ERR
completion, but any other error should be logged at level ERR.

Cc: Steve French <smfrench@gmail.com>
Cc: Tom Talpey <tom@talpey.com>
Cc: Long Li <longli@microsoft.com>
Cc: linux-cifs@vger.kernel.org
Cc: samba-technical@lists.samba.org
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/smbdirect.c