diff options
author | Qu Wenruo <wqu@suse.com> | 2024-04-02 16:30:15 +1030 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2024-05-07 21:31:08 +0200 |
commit | 4bdc558bf906ce4e3e33cb33a9368383a22e2151 (patch) | |
tree | cb0dbf2d1a4bc0cea9c7d6524462a669538e9a23 /fs/btrfs/ordered-data.c | |
parent | 319d91ee7265505d96f085c6bf5b781667b71090 (diff) | |
download | linux-4bdc558bf906ce4e3e33cb33a9368383a22e2151.tar.gz linux-4bdc558bf906ce4e3e33cb33a9368383a22e2151.tar.bz2 linux-4bdc558bf906ce4e3e33cb33a9368383a22e2151.zip |
btrfs: simplify the inline extent map creation
With the tree-checker ensuring all inline file extents starts at file
offset 0 and has a length no larger than sectorsize, we can simplify the
calculation to assigned those fixes values directly.
Reviewed-by: Filipe Manana <fdmanana@suse.com>
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 'fs/btrfs/ordered-data.c')
0 files changed, 0 insertions, 0 deletions