use less confusing names for iov_iter direction initializers
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 16 Sep 2022 00:25:47 +0000 (20:25 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 25 Nov 2022 18:01:55 +0000 (13:01 -0500)
commitde4eda9de2d957ef2d6a8365a01e26a435e958cb
tree49b0d60dedb65af7f0d3e874ee9c661e6b09697b
parenta41dad905e5a388f88435a517de102e9b2c8e43d
use less confusing names for iov_iter direction initializers

READ/WRITE proved to be actively confusing - the meanings are
"data destination, as used with read(2)" and "data source, as
used with write(2)", but people keep interpreting those as
"we read data from it" and "we write data to it", i.e. exactly
the wrong way.

Call them ITER_DEST and ITER_SOURCE - at least that is harder
to misinterpret...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
87 files changed:
arch/s390/kernel/crash_dump.c
arch/s390/mm/maccess.c
arch/x86/kernel/cpu/microcode/intel.c
arch/x86/kernel/crash_dump_64.c
crypto/testmgr.c
drivers/acpi/pfr_update.c
drivers/block/drbd/drbd_main.c
drivers/block/drbd/drbd_receiver.c
drivers/block/loop.c
drivers/block/nbd.c
drivers/char/random.c
drivers/fsi/fsi-sbefifo.c
drivers/infiniband/ulp/rtrs/rtrs-clt.c
drivers/isdn/mISDN/l1oip_core.c
drivers/misc/vmw_vmci/vmci_queue_pair.c
drivers/net/ppp/ppp_generic.c
drivers/nvme/host/tcp.c
drivers/nvme/target/io-cmd-file.c
drivers/nvme/target/tcp.c
drivers/s390/char/zcore.c
drivers/scsi/sg.c
drivers/target/iscsi/iscsi_target_util.c
drivers/target/target_core_file.c
drivers/usb/usbip/usbip_common.c
drivers/vhost/net.c
drivers/vhost/scsi.c
drivers/vhost/vhost.c
drivers/vhost/vringh.c
drivers/vhost/vsock.c
drivers/xen/pvcalls-back.c
fs/9p/vfs_addr.c
fs/9p/vfs_dir.c
fs/9p/xattr.c
fs/afs/cmservice.c
fs/afs/dir.c
fs/afs/file.c
fs/afs/internal.h
fs/afs/rxrpc.c
fs/afs/write.c
fs/aio.c
fs/btrfs/ioctl.c
fs/ceph/addr.c
fs/ceph/file.c
fs/cifs/connect.c
fs/cifs/file.c
fs/cifs/fscache.c
fs/cifs/smb2ops.c
fs/cifs/transport.c
fs/coredump.c
fs/erofs/fscache.c
fs/fscache/io.c
fs/fuse/ioctl.c
fs/netfs/io.c
fs/nfs/fscache.c
fs/nfsd/vfs.c
fs/ocfs2/cluster/tcp.c
fs/orangefs/inode.c
fs/proc/vmcore.c
fs/read_write.c
fs/seq_file.c
fs/splice.c
include/linux/uio.h
io_uring/net.c
io_uring/rw.c
kernel/trace/trace_events_user.c
mm/madvise.c
mm/page_io.c
mm/process_vm_access.c
net/9p/client.c
net/bluetooth/6lowpan.c
net/bluetooth/a2mp.c
net/bluetooth/smp.c
net/ceph/messenger_v1.c
net/ceph/messenger_v2.c
net/compat.c
net/ipv4/tcp.c
net/netfilter/ipvs/ip_vs_sync.c
net/smc/smc_clc.c
net/smc/smc_tx.c
net/socket.c
net/sunrpc/socklib.c
net/sunrpc/svcsock.c
net/sunrpc/xprtsock.c
net/tipc/topsrv.c
net/tls/tls_device.c
net/xfrm/espintcp.c
security/keys/keyctl.c