summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2024-11-07 07:05:07 +0300
committerDavid Sterba <dsterba@suse.com>2025-01-13 16:53:15 +0300
commita883120b2d19630d3be56bc9649a71299ccbf95d (patch)
tree6e507ab65afaa41cb412bef01d94ffa1517a5c57 /scripts/lib/kdoc/kdoc_files.py
parentc0def46dec9c547679a25fe7552c4bcbec0b0dd2 (diff)
downloadlinux-a883120b2d19630d3be56bc9649a71299ccbf95d.tar.xz
btrfs: open-code btrfs_copy_from_user()
The function btrfs_copy_from_user() handles the folio dirtying for buffered write. The original design is to allow that function to handle multiple folios, but since commit c87c299776e4 ("btrfs: make buffered write to copy one page a time") there is no need to support multiple folios. So here open-code btrfs_copy_from_user() to copy_folio_from_iter_atomic() and flush_dcache_folio() calls. The short-copy check and revert are still kept as-is. Signed-off-by: Qu Wenruo <wqu@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions