Commit 581beb4f authored by David Howells's avatar David Howells Committed by Christian Brauner

iov_iter: Remove last_offset from iov_iter as it was for ITER_PIPE

Now that ITER_PIPE has been removed, iov_iter::last_offset is no longer
used, so remove it.
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
Link: https://lore.kernel.org/r/20230925120309.1731676-2-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: default avatarChristian Brauner <brauner@kernel.org>
parent ce9ecca0
...@@ -44,10 +44,7 @@ struct iov_iter { ...@@ -44,10 +44,7 @@ struct iov_iter {
bool nofault; bool nofault;
bool data_source; bool data_source;
bool user_backed; bool user_backed;
union { size_t iov_offset;
size_t iov_offset;
int last_offset;
};
/* /*
* Hack alert: overlay ubuf_iovec with iovec + count, so * Hack alert: overlay ubuf_iovec with iovec + count, so
* that the members resolve correctly regardless of the type * that the members resolve correctly regardless of the type
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment