diff options
author | 2019-10-18 16:42:50 -0700 | |
---|---|---|
committer | 2019-10-21 08:51:59 -0700 | |
commit | 32a38a4991043976fc2d8840a55ce5dde41fdbd0 (patch) | |
tree | aa722afa19ce30a6cf62a3f7814f2d0052f13391 /lib/test_overflow.c | |
parent | iomap: move the zeroing case out of iomap_read_page_sync (diff) | |
download | wireguard-linux-32a38a4991043976fc2d8840a55ce5dde41fdbd0.tar.xz wireguard-linux-32a38a4991043976fc2d8840a55ce5dde41fdbd0.zip |
iomap: use write_begin to read pages to unshare
Use the existing iomap write_begin code to read the pages unshared
by iomap_file_unshare. That avoids the extra ->readpage call and
extent tree lookup currently done by read_mapping_page.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions