Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c7ad42b5 authored by Steve French's avatar Steve French
Browse files

[CIFS] Fix trivial sparse warning with asyn i/o patch

parent d8162558
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2114,7 +2114,7 @@ cifs_uncached_marshal_iov(struct kvec *iov, struct cifs_writedata *wdata)

	/* marshal up the pages into iov array */
	for (i = 0; i < wdata->nr_pages; i++) {
		iov[i + 1].iov_len = min(bytes, PAGE_SIZE);
		iov[i + 1].iov_len = min_t(size_t, bytes, PAGE_SIZE);
		iov[i + 1].iov_base = kmap(wdata->pages[i]);
		bytes -= iov[i + 1].iov_len;
	}