History

Merge branch 'work.iov_iter' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs

Pull iov_iter updates from Al Viro: "A couple of iov_iter patches - Christoph's crapectomy (the last remaining user of iov_for_each() went away with lustre, IIRC) and Eric'c optimization of sanity checks" * 'work.iov_iter' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: iov_iter: optimize page_copy_sane() uio: remove the unused iov_for_each macro

Linus Torvalds committed 7 years ago

Commit dbc2fba2 parents 5f739e4 6daef953 files · +15 −11Browse files

Showing the changes to include/linux (1 of 3 files). Show all

Unified · Split

include/linux/uio.h+0−8
@@ -110,14 +110,6 @@ static inline struct iovec iov_iter_iovec(const struct iov_iter *iter) · 109 unmodified lines
110110 };
111111 }
112112
113−#define iov_for_each(iov, iter, start) \
114− if (iov_iter_type(start) == ITER_IOVEC || \
115− iov_iter_type(start) == ITER_KVEC) \
116− for (iter = (start); \
117− (iter).count && \
118− ((iov = iov_iter_iovec(&(iter))), 1); \
119− iov_iter_advance(&(iter), (iov).iov_len))
120−
121113 size_t iov_iter_copy_from_user_atomic(struct page *page,
122114 struct iov_iter *i, unsigned long offset, size_t bytes);
123115 void iov_iter_advance(struct iov_iter *i, size_t bytes);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t