-
- Downloads
iov_iter: replace iov_iter_copy_from_user_atomic() with iterator-advancing variant
Replacement is called copy_page_from_iter_atomic(); unlike the old primitive the
callers do *not* need to do iov_iter_advance() after it. In case when they end
up consuming less than they'd been given they need to do iov_iter_revert() on
everything they had not consumed. That, however, needs to be done only on slow
paths.
All in-tree callers converted. And that kills the last user of iterate_all_kinds()
Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk>
Showing
- Documentation/filesystems/porting.rst 9 additions, 0 deletionsDocumentation/filesystems/porting.rst
- fs/btrfs/file.c 11 additions, 12 deletionsfs/btrfs/file.c
- fs/fuse/file.c 1 addition, 2 deletionsfs/fuse/file.c
- fs/iomap/buffered-io.c 7 additions, 7 deletionsfs/iomap/buffered-io.c
- fs/ntfs/file.c 1 addition, 3 deletionsfs/ntfs/file.c
- include/linux/uio.h 2 additions, 2 deletionsinclude/linux/uio.h
- lib/iov_iter.c 4 additions, 26 deletionslib/iov_iter.c
- mm/filemap.c 8 additions, 8 deletionsmm/filemap.c
Loading
Please register or sign in to comment