]> git.baikalelectronics.ru Git - 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)
commit209d246a471768347ccfaa6b9f2dcdeed6b0dbff
treed2d16e7863306dd0ccf6b7d528958bd9dd497820
parentaf96e059ee81ad036411e1f843ecc2339875bcbe
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