Skip to contentSkip to conversation

iov_iter: Remove last_offset member

PATCH Applied David Howells 2 participants 2 messages Apr 5, 2023

Subsystems (7)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iov_iter: Remove last_offset member

Hi Jens,

Can you add this to the block tree?

David
---
iov_iter: Remove last_offset member

With the removal of ITER_PIPE, the last_offset member of struct iov_iter is no longer used, so remove it and un-unionise the remaining member.

---
 include/linux/uio.h |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
include/linux/uio.h +1 -4
index 74598426edb4..2d8a70cb9b26 100644
@@ -43,10 +43,7 @@ struct iov_iter {
 	bool nofault;
 	bool data_source;
 	bool user_backed;
-	union {
-		size_t iov_offset;
-		int last_offset;
-	};
+	size_t iov_offset;
 	size_t count;
 	union {
 		const struct iovec *iov;
Applied
#1 lore raw
Quoted 5 lines · David Howells

Can you add this to the block tree?

David

Applied, thanks!

[1/1] iov_iter: Remove last_offset member

      commit: 867e1cbba73ea240f9417439479df7eb74b1299c

Best regards,

Signature · 1 line
Jens Axboe