cifs: Make wait_mtu_credits take size_t args
authorDavid Howells <dhowells@redhat.com>
Fri, 6 Oct 2023 17:20:39 +0000 (18:20 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 1 May 2024 17:08:19 +0000 (18:08 +0100)
commit56257334e8e0075515aedc44044a5585dcf7f465
tree6243459608669cd5db92789975394f0d1225d479
parentab58fbdeebc7f9fe8b9bc202660eae3a10e5e678
cifs: Make wait_mtu_credits take size_t args

Make the wait_mtu_credits functions use size_t for the size and num
arguments rather than unsigned int as netfslib uses size_t/ssize_t for
arguments and return values to allow for extra capacity.

Signed-off-by: David Howells <dhowells@redhat.com>
cc: Steve French <sfrench@samba.org>
cc: Shyam Prasad N <nspmangalore@gmail.com>
cc: Rohith Surabattula <rohiths.msft@gmail.com>
cc: Jeff Layton <jlayton@kernel.org>
cc: linux-cifs@vger.kernel.org
cc: linux-cachefs@redhat.com
cc: netfs@lists.linux.dev
cc: linux-mm@kvack.org
fs/smb/client/cifsglob.h
fs/smb/client/cifsproto.h
fs/smb/client/file.c
fs/smb/client/smb2ops.c
fs/smb/client/transport.c