summaryrefslogtreecommitdiff
path: root/rust/helpers/task.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2024-07-26 22:03:07 +0300
committerChristian Brauner <brauner@kernel.org>2024-09-12 13:20:42 +0300
commit2982c8c19bab020e38da9d503aa21a3b389c53ac (patch)
treee20fc3c40e4b4572dd472063f14427cc264856ef /rust/helpers/task.c
parent8f246b7c0a1be0882374f2ff831a61f0dbe77678 (diff)
downloadlinux-2982c8c19bab020e38da9d503aa21a3b389c53ac.tar.xz
cifs: Use iterate_and_advance*() routines directly for hashing
Replace the bespoke cifs iterators of ITER_BVEC and ITER_KVEC to do hashing with iterate_and_advance_kernel() - a variant on iterate_and_advance() that only supports kernel-internal ITER_* types and not UBUF/IOVEC types. The bespoke ITER_XARRAY is left because we don't really want to be calling crypto_shash_update() under the RCU read lock for large amounts of data; besides, ITER_XARRAY is going to be phased out. Signed-off-by: David Howells <dhowells@redhat.com> cc: Steve French <sfrench@samba.org> cc: Paulo Alcantara <pc@manguebit.com> cc: Tom Talpey <tom@talpey.com> cc: Enzo Matsumiya <ematsumiya@suse.de> cc: linux-cifs@vger.kernel.org Link: https://lore.kernel.org/r/20240814203850.2240469-24-dhowells@redhat.com/ # v2 Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions