Thread (14 messages) 14 messages, 5 authors, 2021-12-16

Re: [PATCH 2/3] vmcore: Convert __read_vmcore to use an iov_iter

From: Christoph Hellwig <hch@lst.de>
Date: 2021-12-13 08:00:41
Also in: kexec, linux-fsdevel, lkml

On Mon, Dec 13, 2021 at 12:06:35AM +0000, Matthew Wilcox (Oracle) wrote:
+	/* trim iter to not go beyond EOF */
+	if (iter->count > vmcore_size - *fpos)
+		iter->count = vmcore_size - *fpos;
Nit: iov_iter_truncate()

Otherwise this looks good from a cursory view.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help