cifs: print more detail when invalidate_inode_mapping fails
authorSteve French <stfrench@microsoft.com>
Tue, 20 Jun 2023 01:45:33 +0000 (20:45 -0500)
committerSteve French <stfrench@microsoft.com>
Wed, 21 Jun 2023 04:03:03 +0000 (23:03 -0500)
commitacf35d79ee8c1cce0f879efe6446cf81e5491c36
treed698a2df9f08225644322f4083cec80671d203cb
parent12c30f33cc6769bf411088a2872843c4f9ea32f9
cifs: print more detail when invalidate_inode_mapping fails

We had seen cases where cifs_invalidate_mapping was logging:
   "Could not invalidate inode ..."
if invalidate_inode_pages2 fails but this message does not show what
the rc is.  Update the logged message to also log the return code.

Suggested-by: Shyam Prasad N <sprasad@microsoft.com>
Reviewed-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/inode.c