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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] cc: Alexander Viro <[email protected]> cc: Jens Axboe <[email protected]> cc: Christoph Hellwig <[email protected]> cc: Christian Brauner <[email protected]> cc: Matthew Wilcox <[email protected]> cc: Linus Torvalds <[email protected]> cc: David Laight <[email protected]> cc: [email protected] cc: [email protected] cc: [email protected] Signed-off-by: Christian Brauner <[email protected]>
1 parent 7ebc540 commit 7d9e44a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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)