diff options
author | Omar Sandoval | 2020-08-21 00:39:51 -0700 |
---|---|---|
committer | David Sterba | 2020-10-07 12:13:17 +0200 |
commit | a9b2e0de92cbed84b9bca1464babaf1d67a5542b (patch) | |
tree | 0a08bacbb34c6f5c23d332dd1d1b41f48caa5c8c /fs/btrfs/send.h | |
parent | 0cbb5bdfea2675f4b9749f99120a79f9e0a28600 (diff) |
btrfs: send: get rid of i_size logic in send_write()
send_write()/fill_read_buf() have some logic for avoiding reading past
i_size. However, everywhere that we call
send_write()/send_extent_data(), we've already clamped the length down
to i_size. Get rid of the i_size handling, which simplifies the next
change.
Reviewed-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/send.h')
0 files changed, 0 insertions, 0 deletions