diff options
author | David Howells <dhowells@redhat.com> | 2023-05-23 15:48:41 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2023-05-23 23:35:44 +0300 |
commit | 4ef4aee67eed640064fff95a693c0184cedb7bec (patch) | |
tree | cb8f635144904b31a9d3291f60a552d43a75547a /scripts/gdb/linux/utils.py | |
parent | 44c026a73be8038f03dbdeef028b642880cf1511 (diff) | |
download | linux-4ef4aee67eed640064fff95a693c0184cedb7bec.tar.xz |
cifs: Fix cifs_limit_bvec_subset() to correctly check the maxmimum size
Fix cifs_limit_bvec_subset() so that it limits the span to the maximum
specified and won't return with a size greater than max_size.
Fixes: d08089f649a0 ("cifs: Change the I/O paths to use an iterator rather than a page list")
Cc: stable@vger.kernel.org # 6.3
Reported-by: Shyam Prasad N <sprasad@microsoft.com>
Reviewed-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Steve French <smfrench@gmail.com>
cc: Rohith Surabattula <rohiths.msft@gmail.com>
cc: Paulo Alcantara <pc@manguebit.com>
cc: Tom Talpey <tom@talpey.com>
cc: Jeff Layton <jlayton@kernel.org>
cc: linux-cifs@vger.kernel.org
cc: linux-fsdevel@vger.kernel.org
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions