Skip to content

Commit 7d9e44a

Browse files
dhowellsbrauner
authored andcommitted
iov_iter: Renumber ITER_* constants
Renumber the ITER_* iterator-type constants to put things in the same order as in the iteration functions and to group user-backed iterators at the bottom. Signed-off-by: David Howells <dhowells@redhat.com> Link: https://lore.kernel.org/r/20230925120309.1731676-6-dhowells@redhat.com cc: Alexander Viro <viro@zeniv.linux.org.uk> cc: Jens Axboe <axboe@kernel.dk> cc: Christoph Hellwig <hch@lst.de> cc: Christian Brauner <christian@brauner.io> cc: Matthew Wilcox <willy@infradead.org> cc: Linus Torvalds <torvalds@linux-foundation.org> cc: David Laight <David.Laight@ACULAB.COM> cc: linux-block@vger.kernel.org cc: linux-fsdevel@vger.kernel.org cc: linux-mm@kvack.org Signed-off-by: Christian Brauner <brauner@kernel.org>
1 parent 7ebc540 commit 7d9e44a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

include/linux/uio.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ struct kvec {
2121

2222
enum iter_type {
2323
/* iter types */
24+
ITER_UBUF,
2425
ITER_IOVEC,
25-
ITER_KVEC,
2626
ITER_BVEC,
27+
ITER_KVEC,
2728
ITER_XARRAY,
2829
ITER_DISCARD,
29-
ITER_UBUF,
3030
};
3131

3232
#define ITER_SOURCE 1 // == WRITE

0 commit comments

Comments
 (0)