summaryrefslogtreecommitdiffstats
path: root/kernel/printk
diff options
context:
space:
mode:
authorMatthew Wilcox <willy@linux.intel.com>2014-08-01 15:27:22 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2014-10-09 08:39:03 +0200
commitc35e02480014f7a86e264a2fda39a568690163da (patch)
tree6b1f1afc1c19bcbfc9c96f707c93627b0f4acbf3 /kernel/printk
parentfs: Fix theoretical division by 0 in super_cache_scan(). (diff)
downloadlinux-c35e02480014f7a86e264a2fda39a568690163da.tar.xz
linux-c35e02480014f7a86e264a2fda39a568690163da.zip
Add copy_to_iter(), copy_from_iter() and iov_iter_zero()
For DAX, we want to be able to copy between iovecs and kernel addresses that don't necessarily have a struct page. This is a fairly simple rearrangement for bvec iters to kmap the pages outside and pass them in, but for user iovecs it gets more complicated because we might try various different ways to kmap the memory. Duplicating the existing logic works out best in this case. We need to be able to write zeroes to an iovec for reads from unwritten ranges in a file. This is performed by the new iov_iter_zero() function, again patterned after the existing code that handles iovec iterators. [AV: and export the buggers...] Signed-off-by: Matthew Wilcox <willy@linux.intel.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'kernel/printk')
0 files changed, 0 insertions, 0 deletions