From: David Howells Date: Mon, 25 Sep 2023 12:03:02 +0000 (+0100) Subject: iov_iter: Renumber ITER_* constants X-Git-Tag: v6.7-rc1~207^2~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7d9e44a6ad8a22135e6308d330da29271f41a98a;p=thirdparty%2Fkernel%2Flinux.git 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 Link: https://lore.kernel.org/r/20230925120309.1731676-6-dhowells@redhat.com cc: Alexander Viro cc: Jens Axboe cc: Christoph Hellwig cc: Christian Brauner cc: Matthew Wilcox cc: Linus Torvalds cc: David Laight cc: linux-block@vger.kernel.org cc: linux-fsdevel@vger.kernel.org cc: linux-mm@kvack.org Signed-off-by: Christian Brauner --- diff --git a/include/linux/uio.h b/include/linux/uio.h index 2000e42a65863..bef8e56aa45c2 100644 --- a/include/linux/uio.h +++ b/include/linux/uio.h @@ -21,12 +21,12 @@ struct kvec { enum iter_type { /* iter types */ + ITER_UBUF, ITER_IOVEC, - ITER_KVEC, ITER_BVEC, + ITER_KVEC, ITER_XARRAY, ITER_DISCARD, - ITER_UBUF, }; #define ITER_SOURCE 1 // == WRITE