]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
iov_iter: Use accessor function
authorDavid Howells <dhowells@redhat.com>
Mon, 22 Oct 2018 12:07:28 +0000 (13:07 +0100)
committerDavid Howells <dhowells@redhat.com>
Tue, 23 Oct 2018 23:40:44 +0000 (00:40 +0100)
commit00e23707442a75b404392cef1405ab4fd498de6b
treed2d16e7863306dd0ccf6b7d528958bd9dd497820
parent1fcb748d187d0c7732a75a509e924ead6d070e04
iov_iter: Use accessor function

Use accessor functions to access an iterator's type and direction.  This
allows for the possibility of using some other method of determining the
type of iterator than if-chains with bitwise-AND conditions.

Signed-off-by: David Howells <dhowells@redhat.com>
14 files changed:
block/bio.c
fs/block_dev.c
fs/ceph/file.c
fs/cifs/file.c
fs/cifs/misc.c
fs/cifs/smbdirect.c
fs/direct-io.c
fs/fuse/file.c
fs/iomap.c
include/linux/uio.h
lib/iov_iter.c
mm/filemap.c
net/9p/trans_virtio.c
net/tls/tls_sw.c